public class H2EngineV2 extends H2Engine
CONSTRAINT_NAME_ALREADY_EXISTS, H2_DRIVER, H2_QUERY_EXCEPTION_HANDLER, INDEX_ALREADY_EXISTS, NAME_ALREADY_EXISTS, OPTIONAL_FEATURE_NOT_SUPPORTED, TABLE_CAN_ONLY_HAVE_ONE_PRIMARY_KEY, TABLE_OR_VIEW_DOES_NOT_EXISTconn, currentSchema, DEFAULT_QUERY_EXCEPTION_HANDLER, dev, dialect, eh, entities, injector, logger, notificationLogger, properties, socketTimeoutExecutor, stmts, translator| Constructor and Description |
|---|
H2EngineV2(PdbProperties properties)
Creates a new H2 connection.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
onConnectionCreated()
To be called when the connection to the database is successfully created.
|
addColumn, addFks, addIndexes, addPrimaryKey, addSequences, createPreparedStatementForInserts, createResultIterator, createResultIterator, createTable, doPersist, dropColumn, dropSequences, dropTable, getFinalJdbcConnection, getPreparedStatementForPersist, getQueryExceptionHandler, getSchema, getTranslatorClass, isStringAggDistinctCapable, setParameterValues, setPreparedStatementValue, setSchemaaddBatch, addEntity, addFks, beginTransaction, checkConnection, checkConnection, checkConnection, clearParameters, close, commentCharacter, commit, connect, containsEntity, createBatch, createBatch, createBatch, createBatch, createBatch, createBatch, createPreparedStatement, createPreparedStatement, createPreparedStatement, createPreparedStatement, createSelectStatement, dropEntity, dropEntity, dropFkQuery, dropFks, dropFks, dropView, duplicate, entityToPreparedStatement, entityToPreparedStatementForBatch, entityToPreparedStatementInternal, escapeCharacter, executePS, executePSUpdate, executeUpdate, executeUpdate, executeUpdateSilently, flush, getConnection, getDBProperties, getDialect, getEntities, getEntities, getImportedKeys, getMetadata, getMetadata, getPrivateKey, getProperties, getPSIterator, getPSIterator, getPSResultSet, getQueryMetadata, getQueryMetadata, handleOperation, hasIdentityColumn, inject, isTransactionActive, iterator, iterator, iterator, iterator, iterator, iterator, loadEntity, objectToArray, persist, persist, preparedStatementExists, processResultIterator, query, query, query, query, reconnectExceptionally, removeEntity, removePreparedStatement, rollback, setExceptionHandler, setParameter, setParameter, setParameters, setTransactionIsolation, toPdbType, translate, translateType, updateEntitypublic H2EngineV2(PdbProperties properties) throws DatabaseEngineException
properties - The properties for the database connection.DatabaseEngineException - When the connection fails.protected void onConnectionCreated()
throws DatabaseEngineException
AbstractDatabaseEngineonConnectionCreated in class H2EngineDatabaseEngineException - If something wrong occurs while interacting with the database.Copyright © 2023 Feedzai. All rights reserved.