org.hibernate.dialect
Class PostgresPlusDialect
java.lang.Object
org.hibernate.dialect.Dialect
org.hibernate.dialect.PostgreSQLDialect
org.hibernate.dialect.PostgresPlusDialect
public class PostgresPlusDialect
- extends PostgreSQLDialect
An SQL dialect for Postgres Plus
- Author:
- Jim Mlodgenski
Methods inherited from class org.hibernate.dialect.PostgreSQLDialect |
bindLimitParametersInReverseOrder, dropConstraints, getAddColumnString, getCascadeConstraintsString, getCreateSequenceString, getCreateSequenceString, getCreateTemporaryTablePostfix, getCreateTemporaryTableString, getDropSequenceString, getForUpdateString, getForUpdateString, getIdentityColumnString, getIdentitySelectString, getLimitString, getNativeIdentifierGeneratorClass, getNoColumnsInsertString, getQuerySequencesString, getReadLockString, getSelectClauseNullString, getSelectSequenceNextValString, getSequenceNextValString, getViolatedConstraintNameExtracter, getWriteLockString, hasDataTypeInIdentityColumn, isCurrentTimestampSelectStringCallable, supportsCommentOn, supportsCurrentTimestampSelection, supportsEmptyInList, supportsExpectedLobUsagePattern, supportsIdentityColumns, supportsLimit, supportsLobValueChangePropogation, supportsOuterJoinForUpdate, supportsPooledSequences, supportsSequences, supportsTemporaryTables, supportsTupleDistinctCounts, supportsUnboundedLobLocatorMaterialization, supportsUnionAll, toBooleanValueString, useInputStreamToInsertBlob |
Methods inherited from class org.hibernate.dialect.Dialect |
addTypeOverride, appendIdentitySelectToInsert, appendLockHint, applyLocksToSql, areStringComparisonsCaseInsensitive, bindLimitParametersFirst, buildSQLExceptionConverter, closeQuote, convertToFirstRowValue, createCaseFragment, createOuterJoinFragment, doesReadCommittedCauseWritersToBlockReaders, doesRepeatableReadCauseReadersToBlockWriters, dropTemporaryTableAfterUse, forceLimitUsage, forUpdateOfColumns, generateTemporaryTableName, getAddForeignKeyConstraintString, getAddPrimaryKeyConstraintString, getCastTypeName, getColumnAliasExtractor, getColumnComment, getCreateMultisetTableString, getCreateSequenceStrings, getCreateSequenceStrings, getCreateTableString, getCrossJoinSeparator, getDefaultProperties, getDialect, getDialect, getDropForeignKeyString, getDropSequenceStrings, getDropTemporaryTableString, getForUpdateNowaitString, getForUpdateNowaitString, getForUpdateString, getForUpdateString, getForUpdateString, getFunctions, getHibernateTypeName, getHibernateTypeName, getIdentityColumnString, getIdentityInsertString, getIdentitySelectString, getKeywords, getLimitString, getLockingStrategy, getLowercaseFunction, getMaxAliasLength, getNullColumnString, getTableComment, getTableTypeString, getTypeName, getTypeName, getTypeOverrides, hasAlterTable, hasSelfReferentialForeignKeyBug, isLockTimeoutParameterized, openQuote, performTemporaryTableDDLInIsolation, qualifyIndexName, quote, registerColumnType, registerColumnType, registerFunction, registerHibernateType, registerHibernateType, registerKeyword, replaceResultVariableInOrderByClauseWithPosition, requiresCastingOfParametersInSelectClause, supportsBindAsCallableArgument, supportsCascadeDelete, supportsCircularCascadeDeleteConstraints, supportsColumnCheck, supportsExistsInSelect, supportsIfExistsAfterTableName, supportsIfExistsBeforeTableName, supportsInsertSelectIdentity, supportsLimitOffset, supportsLockTimeouts, supportsNotNullUnique, supportsParametersInInsertSelect, supportsResultSetPositionQueryMethodsOnForwardOnlyCursor, supportsRowValueConstructorSyntax, supportsRowValueConstructorSyntaxInInList, supportsSubqueryOnMutatingTable, supportsSubselectAsInPredicateLHS, supportsTableCheck, supportsTupleCounts, supportsUnique, supportsUniqueConstraintInCreateAlterTable, supportsVariableLimit, toString, transformSelectString, useMaxForLimit |
PostgresPlusDialect
public PostgresPlusDialect()
getCurrentTimestampSelectString
public String getCurrentTimestampSelectString()
- Description copied from class:
Dialect
- Retrieve the command used to retrieve the current timestamp from the
database.
- Overrides:
getCurrentTimestampSelectString
in class PostgreSQLDialect
- Returns:
- The command.
getCurrentTimestampSQLFunctionName
public String getCurrentTimestampSQLFunctionName()
- Description copied from class:
Dialect
- The name of the database-specific SQL function for retrieving the
current timestamp.
- Overrides:
getCurrentTimestampSQLFunctionName
in class Dialect
- Returns:
- The function name.
registerResultSetOutParameter
public int registerResultSetOutParameter(CallableStatement statement,
int col)
throws SQLException
- Description copied from class:
Dialect
- Registers an OUT parameter which will be returning a
ResultSet
. How this is accomplished varies greatly
from DB to DB, hence its inclusion (along with Dialect.getResultSet(java.sql.CallableStatement)
) here.
- Overrides:
registerResultSetOutParameter
in class PostgreSQLDialect
- Parameters:
statement
- The callable statement.col
- The bind position at which to register the OUT param.
- Returns:
- The number of (contiguous) bind positions used.
- Throws:
SQLException
- Indicates problems registering the OUT param.
getResultSet
public ResultSet getResultSet(CallableStatement ps)
throws SQLException
- Description copied from class:
Dialect
- Given a callable statement previously processed by
Dialect.registerResultSetOutParameter(java.sql.CallableStatement, int)
,
extract the ResultSet
from the OUT parameter.
- Overrides:
getResultSet
in class PostgreSQLDialect
- Parameters:
ps
- The callable statement.
- Returns:
- The extracted result set.
- Throws:
SQLException
- Indicates problems extracting the result set.
getSelectGUIDString
public String getSelectGUIDString()
- Description copied from class:
Dialect
- Get the command used to select a GUID from the underlying database.
Optional operation.
- Overrides:
getSelectGUIDString
in class Dialect
- Returns:
- The appropriate command.
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.