public class H2DbmsSupport extends GenericDbmsSupport
KEYWORD_SELECT, log, sqlTranslators, TYPE_BLOB, TYPE_CLOB, TYPE_FUNCTION
Constructor and Description |
---|
H2DbmsSupport() |
Modifier and Type | Method and Description |
---|---|
Object |
getBlobHandle(ResultSet rs,
int column) |
Object |
getBlobHandle(ResultSet rs,
String column) |
Object |
getClobHandle(ResultSet rs,
int column) |
Object |
getClobHandle(ResultSet rs,
String column) |
String |
getDatetimeLiteral(Date date) |
Dbms |
getDbms()
Numeric value defining database type, defined in
DbmsSupportFactory . |
String |
getSchema(Connection conn) |
ResultSet |
getTableColumns(Connection conn,
String schemaName,
String tableName,
String columnNamePattern) |
String |
getTimestampAsDate(String columnName) |
boolean |
hasIndexOnColumn(Connection conn,
String schemaName,
String tableName,
String columnName) |
boolean |
hasIndexOnColumns(Connection conn,
String schemaOwner,
String tableName,
List<String> columns) |
boolean |
isColumnPresent(Connection conn,
String schemaName,
String tableName,
String columnName) |
boolean |
isTablePresent(Connection conn,
String schemaName,
String tableName) |
applyBlobParameter, applyClobParameter, autoIncrementInsertValue, autoIncrementKeyMustBeInserted, autoIncrementUsesSequenceObject, convertQuery, createTranslator, doHasIndexOnColumns, doIsColumnPresent, doIsTablePresent, emptyBlobValue, emptyClobValue, getAutoIncrementKeyFieldType, getBlobFieldType, getBlobHandle, getBlobInputStream, getBlobInputStream, getBlobOutputStream, getBlobOutputStream, getBlobOutputStream, getBlobOutputStream, getBooleanFieldType, getBooleanValue, getCleanUpIbisstoreQuery, getClobFieldType, getClobHandle, getClobReader, getClobReader, getClobWriter, getClobWriter, getClobWriter, getDateAndOffset, getDbmsName, getFirstRecordQuery, getFromForTablelessSelect, getIbisStoreSummaryQuery, getInsertedAutoIncrementValueQuery, getLength, getNumericKeyFieldType, getRowNumber, getRowNumberShortName, getSchemaOwner, getSysDate, getTableColumns, getTableColumns, getTextFieldType, getTimestampFieldType, getUpdateBlobQuery, getUpdateClobQuery, hasSkipLockedFunctionality, isBlobType, isClobType, isColumnPresent, isConstraintViolation, isIndexPresent, isParameterTypeMatchRequired, isQueryConversionRequired, isSequencePresent, isTablePresent, mustInsertEmptyBlobBeforeData, mustInsertEmptyClobBeforeData, prepareQueryTextForNonLockingRead, prepareQueryTextForWorkQueuePeeking, prepareQueryTextForWorkQueuePeeking, prepareQueryTextForWorkQueueReading, prepareQueryTextForWorkQueueReading, prepareSessionForNonLockingRead, provideFirstRowsHintAfterFirstKeyword, provideIndexHintAfterFirstKeyword, provideTrailingFirstRowsHint, splitQuery, updateBlob, updateBlob, updateClob, updateClob, warnConvertQuery
public Dbms getDbms()
IDbmsSupport
DbmsSupportFactory
.getDbms
in interface IDbmsSupport
getDbms
in class GenericDbmsSupport
public String getSchema(Connection conn) throws JdbcException
getSchema
in interface IDbmsSupport
getSchema
in class GenericDbmsSupport
JdbcException
public String getDatetimeLiteral(Date date)
getDatetimeLiteral
in interface IDbmsSupport
getDatetimeLiteral
in class GenericDbmsSupport
public String getTimestampAsDate(String columnName)
getTimestampAsDate
in interface IDbmsSupport
getTimestampAsDate
in class GenericDbmsSupport
public Object getClobHandle(ResultSet rs, int column) throws SQLException, JdbcException
getClobHandle
in interface IDbmsSupport
getClobHandle
in class GenericDbmsSupport
SQLException
JdbcException
public Object getClobHandle(ResultSet rs, String column) throws SQLException, JdbcException
getClobHandle
in interface IDbmsSupport
getClobHandle
in class GenericDbmsSupport
SQLException
JdbcException
public Object getBlobHandle(ResultSet rs, int column) throws SQLException, JdbcException
getBlobHandle
in interface IDbmsSupport
getBlobHandle
in class GenericDbmsSupport
SQLException
JdbcException
public Object getBlobHandle(ResultSet rs, String column) throws SQLException, JdbcException
getBlobHandle
in interface IDbmsSupport
getBlobHandle
in class GenericDbmsSupport
SQLException
JdbcException
public ResultSet getTableColumns(Connection conn, String schemaName, String tableName, String columnNamePattern) throws JdbcException
getTableColumns
in interface IDbmsSupport
getTableColumns
in class GenericDbmsSupport
JdbcException
public boolean isTablePresent(Connection conn, String schemaName, String tableName) throws JdbcException
isTablePresent
in interface IDbmsSupport
isTablePresent
in class GenericDbmsSupport
JdbcException
public boolean isColumnPresent(Connection conn, String schemaName, String tableName, String columnName) throws JdbcException
isColumnPresent
in interface IDbmsSupport
isColumnPresent
in class GenericDbmsSupport
JdbcException
public boolean hasIndexOnColumn(Connection conn, String schemaName, String tableName, String columnName) throws JdbcException
hasIndexOnColumn
in interface IDbmsSupport
hasIndexOnColumn
in class GenericDbmsSupport
JdbcException
public boolean hasIndexOnColumns(Connection conn, String schemaOwner, String tableName, List<String> columns)
hasIndexOnColumns
in interface IDbmsSupport
hasIndexOnColumns
in class GenericDbmsSupport
Copyright © 2023 Frank!Framework. All rights reserved.