Package org.frankframework.dbms
Class H2DbmsSupport
java.lang.Object
org.frankframework.dbms.GenericDbmsSupport
org.frankframework.dbms.H2DbmsSupport
- All Implemented Interfaces:
IDbmsSupport
Support for H2.
- Author:
- Jaco de Groot
-
Field Summary
Fields inherited from class org.frankframework.dbms.GenericDbmsSupport
KEYWORD_SELECT, log, sqlTranslators -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBlobHandle(ResultSet rs, int column) getClobHandle(ResultSet rs, int column) getDatetimeLiteral(Date date) getDbms()getSchema(Connection conn) getTableColumns(Connection conn, String schemaName, String tableName, String columnNamePattern) getTimestampAsDate(String columnName) booleanhasIndexOnColumn(Connection conn, String schemaName, String tableName, String columnName) booleanhasIndexOnColumns(Connection conn, String schemaOwner, String tableName, List<String> columns) booleanbooleanisColumnPresent(Connection conn, String schemaName, String tableName, String columnName) booleanisTablePresent(Connection conn, String schemaName, String tableName) prepareQueryTextForWorkQueueReading(int batchSize, String selectQuery, int wait) Methods inherited from class org.frankframework.dbms.GenericDbmsSupport
applyBlobParameter, applyClobParameter, autoIncrementInsertValue, autoIncrementKeyMustBeInserted, autoIncrementUsesSequenceObject, convertQuery, createTranslator, doHasIndexOnColumns, doIsColumnPresent, doIsTablePresent, getAutoIncrementKeyFieldType, getBlobFieldType, getBlobHandle, getBlobInputStream, getBlobInputStream, getBlobOutputStream, getBlobOutputStream, getBlobOutputStream, getBooleanValue, getClobHandle, getClobReader, getClobReader, getClobWriter, getClobWriter, getDateAndOffset, getFormattedDate, getFromForTablelessSelect, getLength, getSqlTranslator, getSysDate, getTableColumns, getTableColumns, getTextFieldType, getTimestampFieldType, isBlobType, isClobType, isColumnPresent, isConstraintViolation, isParameterTypeMatchRequired, isQueryConversionRequired, isSequencePresent, isTablePresent, prepareQueryTextForNonLockingRead, prepareQueryTextForWorkQueuePeeking, prepareQueryTextForWorkQueuePeeking, prepareQueryTextForWorkQueueReading, provideFirstRowsHintAfterFirstKeyword, provideIndexHintAfterFirstKeyword, provideTrailingFirstRowsHint, splitQuery, updateBlob, updateBlob, updateClob, updateClob, warnConvertQueryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.frankframework.dbms.IDbmsSupport
canFetchStatementParameterMetaData, getCursorSqlType, getDbmsName, isRowVersionTimestamp, isStoredProcedureResultSetSupported
-
Constructor Details
-
H2DbmsSupport
public H2DbmsSupport() -
H2DbmsSupport
-
-
Method Details
-
getDbms
- Specified by:
getDbmsin interfaceIDbmsSupport- Overrides:
getDbmsin classGenericDbmsSupport
-
hasSkipLockedFunctionality
public boolean hasSkipLockedFunctionality()- Specified by:
hasSkipLockedFunctionalityin interfaceIDbmsSupport- Overrides:
hasSkipLockedFunctionalityin classGenericDbmsSupport
-
prepareQueryTextForWorkQueueReading
public String prepareQueryTextForWorkQueueReading(int batchSize, String selectQuery, int wait) throws DbmsException - Specified by:
prepareQueryTextForWorkQueueReadingin interfaceIDbmsSupport- Overrides:
prepareQueryTextForWorkQueueReadingin classGenericDbmsSupport- Throws:
DbmsException
-
getSchema
- Specified by:
getSchemain interfaceIDbmsSupport- Overrides:
getSchemain classGenericDbmsSupport- Throws:
DbmsException
-
getDatetimeLiteral
- Specified by:
getDatetimeLiteralin interfaceIDbmsSupport- Overrides:
getDatetimeLiteralin classGenericDbmsSupport
-
getTimestampAsDate
- Specified by:
getTimestampAsDatein interfaceIDbmsSupport- Overrides:
getTimestampAsDatein classGenericDbmsSupport
-
getClobHandle
- Specified by:
getClobHandlein interfaceIDbmsSupport- Overrides:
getClobHandlein classGenericDbmsSupport- Throws:
SQLExceptionDbmsException
-
getBlobHandle
- Specified by:
getBlobHandlein interfaceIDbmsSupport- Overrides:
getBlobHandlein classGenericDbmsSupport- Throws:
SQLExceptionDbmsException
-
getTableColumns
public ResultSet getTableColumns(Connection conn, String schemaName, String tableName, String columnNamePattern) throws DbmsException - Specified by:
getTableColumnsin interfaceIDbmsSupport- Overrides:
getTableColumnsin classGenericDbmsSupport- Throws:
DbmsException
-
isTablePresent
public boolean isTablePresent(Connection conn, String schemaName, String tableName) throws DbmsException - Specified by:
isTablePresentin interfaceIDbmsSupport- Overrides:
isTablePresentin classGenericDbmsSupport- Throws:
DbmsException
-
isColumnPresent
public boolean isColumnPresent(Connection conn, String schemaName, String tableName, String columnName) throws DbmsException - Specified by:
isColumnPresentin interfaceIDbmsSupport- Overrides:
isColumnPresentin classGenericDbmsSupport- Throws:
DbmsException
-
hasIndexOnColumn
public boolean hasIndexOnColumn(Connection conn, String schemaName, String tableName, String columnName) throws DbmsException - Specified by:
hasIndexOnColumnin interfaceIDbmsSupport- Overrides:
hasIndexOnColumnin classGenericDbmsSupport- Throws:
DbmsException
-
hasIndexOnColumns
public boolean hasIndexOnColumns(Connection conn, String schemaOwner, String tableName, List<String> columns) - Specified by:
hasIndexOnColumnsin interfaceIDbmsSupport- Overrides:
hasIndexOnColumnsin classGenericDbmsSupport
-