Search in sources :

Example 1 with JdbcConnection

use of com.wplatform.ddal.jdbc.JdbcConnection in project jdbc-shards by wplatform.

the class TransactionTestCase method setQueryTimeout.

public void setQueryTimeout() throws Exception {
    JdbcConnection conn = null;
    try {
        conn = (JdbcConnection) getConnection();
        conn.setQueryTimeout(10);
    } finally {
        close(conn, null, null);
    }
}
Also used : JdbcConnection(com.wplatform.ddal.jdbc.JdbcConnection)

Aggregations

JdbcConnection (com.wplatform.ddal.jdbc.JdbcConnection)1