timeout - JDBI: @QueryTimeOut not applying with Redshift database -
i have added @querytimeout annotation dao interface that's used jdbi.
<dependency> <groupid>io.dropwizard</groupid> <artifactid>dropwizard-jdbi</artifactid> <version>0.7.1</version> </dependency>
it doesn't though, i.e. query can still run longer specified timeout , nothing happens.
@sqlquery("select position, industry [...]") @querytimeout(60) collection<contentbypositionandindustry> findall();
i'm wondering if maybe driver doesn't support feature?
<dependency> <groupid>com.amazonaws</groupid> <artifactid>redshiftjdbc41</artifactid> <version>1.1.6.1006</version> </dependency>
Comments
Post a Comment