public class OracleStatements extends DefaultStatements
DefaultStatements.BatchOperation<T>, DefaultStatements.DefaultBatchUpdate
Statements.BatchUpdate
logger
CONTENT_EXISTS, CREATE_TABLE, DELETE_TABLE, GET_ALL_IDS, GET_BY_ID, GET_MULTIPLE, INSERT_CONTENT, REMOVE_ALL_CONTENT, REMOVE_CONTENT, UPDATE_CONTENT
Modifier | Constructor and Description |
---|---|
protected |
OracleStatements(RelationalDbConfig config,
Map<String,String> statements) |
Modifier and Type | Method and Description |
---|---|
Void |
createTable(Connection connection)
Create a new table.
|
Void |
dropTable(Connection connection)
Drops a table.
|
batchLoadSize, batchUpdate, exists, getAllIds, getById, load, logTableInfo, readDocument, removeAll, writeDocument
protected OracleStatements(RelationalDbConfig config, Map<String,String> statements)
public Void createTable(Connection connection) throws SQLException
Statements
createTable
in interface Statements
createTable
in class DefaultStatements
connection
- a Connection
instance; may not be nullSQLException
- if the operation fails.public Void dropTable(Connection connection) throws SQLException
Statements
dropTable
in interface Statements
dropTable
in class DefaultStatements
connection
- a Connection
instance; may not be nullSQLException
- if the operation fails.Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.