public class DatabaseTableConnection extends DatabaseConnection
| Modifier and Type | Method and Description |
|---|---|
MappingStrategy |
createMappingStrategy(Connection conn,
DatabaseTableConfiguration config)
The strategy utility
|
Map<String,SQLParam> |
getColumnValues(ResultSet result)
Get the Column Values map
|
MappingStrategy |
getSms()
Accessor for the sms property
|
CallableStatement |
prepareCall(String sql,
List<SQLParam> params)
Indirect call of prepareCall statement with mapped callable statement parameters
|
PreparedStatement |
prepareStatement(String sql,
List<SQLParam> params)
Indirect call of prepare statement with mapped prepare statement parameters
|
void |
test()
Determines if the underlying JDBC
Connection is valid. |
commit, dispose, getConnection, prepareStatement, setConnectionpublic MappingStrategy createMappingStrategy(Connection conn, DatabaseTableConfiguration config)
conn - config - public Map<String,SQLParam> getColumnValues(ResultSet result) throws SQLException
result - SQLExceptionpublic MappingStrategy getSms()
public CallableStatement prepareCall(String sql, List<SQLParam> params) throws SQLException
prepareCall in class DatabaseConnectionsql - a String sql statement definitionparams - the bind parameter valuesSQLException - an exception in statementpublic PreparedStatement prepareStatement(String sql, List<SQLParam> params) throws SQLException
prepareStatement in class DatabaseConnectionsql - a String sql statement definitionparams - the bind parameter valuesSQLException - an exception in statementpublic void test()
Connection is valid.test in class DatabaseConnectionRuntimeException - if the underlying JDBC Connection is not
valid otherwise do nothing.Copyright © 2018–2025. All rights reserved.