Package io.vertx.jdbcclient
Interface JDBCConnection
-
- All Superinterfaces:
SqlClient
,SqlConnection
public interface JDBCConnection extends SqlConnection
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Future<Integer>
getTransactionIsolation()
JDBCConnection
setQueryTimeout(int timeoutInSeconds)
Sets a connection wide query timeout.Future<Void>
setTransactionIsolation(int isolationLevel)
-
Methods inherited from interface io.vertx.sqlclient.SqlClient
close, preparedQuery, preparedQuery, query
-
Methods inherited from interface io.vertx.sqlclient.SqlConnection
begin, closeHandler, databaseMetadata, exceptionHandler, isSSL, prepare, prepare, transaction
-
-
-
-
Method Detail
-
setQueryTimeout
JDBCConnection setQueryTimeout(int timeoutInSeconds)
Sets a connection wide query timeout. It can be over-written at any time and becomes active on the next query call.- Parameters:
timeoutInSeconds
- the max amount of seconds the query can take to execute.
-
-