railo.runtime.db
Interface DatasourceConnection
- All Known Implementing Classes:
- DatasourceConnectionImpl, ORMDatasourceConnection
public interface DatasourceConnection
a datasource and connection pair
getConnection
Connection getConnection()
- Returns:
- Returns the connection.
getDatasource
DataSource getDatasource()
- Returns:
- Returns the datasource.
isTimeout
boolean isTimeout()
- Returns:
- is timeout or not
getPassword
String getPassword()
- Returns:
- the password
getUsername
String getUsername()
- Returns:
- the username
supportsGetGeneratedKeys
boolean supportsGetGeneratedKeys()
getPreparedStatement
PreparedStatement getPreparedStatement(SQL sql,
boolean createGeneratedKeys,
boolean allowCaching)
throws SQLException
- Throws:
SQLException
getPreparedStatement
PreparedStatement getPreparedStatement(SQL sql,
int resultSetType,
int resultSetConcurrency)
throws SQLException
- Throws:
SQLException
close
void close()
throws SQLException
- Throws:
SQLException
Copyright © 2012 Railo