public interface DatasourceConnection
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.sql.Connection |
getConnection() |
DataSource |
getDatasource() |
java.lang.String |
getPassword() |
java.sql.PreparedStatement |
getPreparedStatement(SQL sql,
boolean createGeneratedKeys,
boolean allowCaching) |
java.sql.PreparedStatement |
getPreparedStatement(SQL sql,
int resultSetType,
int resultSetConcurrency) |
java.lang.String |
getUsername() |
boolean |
isTimeout() |
boolean |
supportsGetGeneratedKeys() |
java.sql.Connection getConnection()
DataSource getDatasource()
boolean isTimeout()
java.lang.String getPassword()
java.lang.String getUsername()
boolean supportsGetGeneratedKeys()
java.sql.PreparedStatement getPreparedStatement(SQL sql, boolean createGeneratedKeys, boolean allowCaching) throws java.sql.SQLException
java.sql.SQLException
java.sql.PreparedStatement getPreparedStatement(SQL sql, int resultSetType, int resultSetConcurrency) throws java.sql.SQLException
java.sql.SQLException
void close() throws java.sql.SQLException
java.sql.SQLException