The PostgreSQL82Dialect type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | AddColumnString | (Inherited from PostgreSQLDialect.) |
![]() | AreStringComparisonsCaseInsensitive |
Are string comparisons implicitly case insensitive.
In other words, does [where 'XYZ' = 'xyz'] resolve to true?
(Inherited from Dialect.) |
![]() | CascadeConstraintsString | (Inherited from PostgreSQLDialect.) |
![]() | CloseQuote |
The closing quote for a quoted identifier.
(Inherited from Dialect.) |
![]() | CreateMultisetTableString |
Slight variation on CreateTableString.
The command used to create a multiset table.
(Inherited from Dialect.) |
![]() | CreateTableString | Command used to create a table. (Inherited from Dialect.) |
![]() | CreateTemporaryTablePostfix | (Inherited from PostgreSQLDialect.) |
![]() | CreateTemporaryTableString | (Inherited from PostgreSQLDialect.) |
![]() | CurrentTimestampSelectString |
Retrieve the command used to retrieve the current timestammp from the database.
(Inherited from Dialect.) |
![]() | CurrentTimestampSQLFunctionName |
The name of the database-specific SQL function for retrieving the
current timestamp.
(Inherited from Dialect.) |
![]() | DefaultProperties |
Retrieve a set of default Hibernate properties for this database.
(Inherited from Dialect.) |
![]() | DisableForeignKeyConstraintsString |
Only needed if the Dialect does not have SupportsForeignKeyConstraintInAlterTable.
(Inherited from Dialect.) |
![]() | DoesReadCommittedCauseWritersToBlockReaders |
For the underlying database, is READ_COMMITTED isolation implemented by
forcing readers to wait for write locks to be released?
(Inherited from Dialect.) |
![]() | DoesRepeatableReadCauseReadersToBlockWriters |
For the underlying database, is REPEATABLE_READ isolation implemented by
forcing writers to wait for read locks to be released?
(Inherited from Dialect.) |
![]() | DropConstraints | (Inherited from PostgreSQLDialect.) |
![]() | DropForeignKeyString | (Inherited from Dialect.) |
![]() | EnableForeignKeyConstraintsString |
Only needed if the Dialect does not have SupportsForeignKeyConstraintInAlterTable.
(Inherited from Dialect.) |
![]() | ForUpdateNowaitString | (Inherited from PostgreSQL81Dialect.) |
![]() | ForUpdateOfColumns | Is FOR UPDATE OF syntax supported? (Inherited from Dialect.) |
![]() | ForUpdateString |
Get the string to append to SELECT statements to acquire locks
for this dialect.
(Inherited from Dialect.) |
![]() | Functions |
Aggregate SQL functions as defined in general. This is
a case-insensitive hashtable!
(Inherited from Dialect.) |
![]() | GenerateTablePrimaryKeyConstraintForIdentityColumn |
Set this to false if no table-level primary key constraint should be generated when an identity column has been specified for the table.
This is used as a work-around for SQLite so it doesn't tell us we have "more than one primary key".
(Inherited from Dialect.) |
![]() | HasDataTypeInIdentityColumn |
PostgreSQL doesn't have type in identity column.
(Inherited from PostgreSQL81Dialect.) |
![]() | HasSelfReferentialForeignKeyBug | (Inherited from Dialect.) |
![]() | IdentityColumnString |
The keyword used to specify an identity column, if native key generation is supported
(Inherited from Dialect.) |
![]() | IdentityInsertString |
The keyword used to insert a generated value into an identity column (or null).
Need if the dialect does not support inserts that specify no column values.
(Inherited from Dialect.) |
![]() | IdentitySelectString |
PostgreSQL 8.1 and above defined the fuction lastval() that returns the
value of the last sequence that nextval() was used on in the current session.
Call lastval() if nextval() has not yet been called in the current
session throw an exception.
(Inherited from PostgreSQL81Dialect.) |
![]() | IdentityStyleIdentifierGeneratorClass |
The class (which implements IIdentifierGenerator)
which acts as this dialects identity-style generation strategy.
(Inherited from Dialect.) |
![]() | InsertGeneratedIdentifierRetrievalMethod | (Inherited from PostgreSQLDialect.) |
![]() | IsCurrentTimestampSelectStringCallable |
Should the value returned by CurrentTimestampSelectString
be treated as callable. Typically this indicates that JDBC escape
sytnax is being used...
(Inherited from Dialect.) |
![]() | Keywords | (Inherited from Dialect.) |
![]() | LowercaseFunction |
The name of the SQL function that transforms a string to lowercase
(Inherited from Dialect.) |
![]() | MaxAliasLength | (Inherited from Dialect.) |
![]() | NativeIdentifierGeneratorClass |
The class (which implements IIdentifierGenerator)
which acts as this dialects native generation strategy.
(Inherited from Dialect.) |
![]() | NoColumnsInsertString |
The sql syntax to insert a row without specifying any column in PostgreSQL is
INSERT INTO table DEFAULT VALUES; (Inherited from PostgreSQL81Dialect.) |
![]() | NullColumnString |
The keyword used to specify a nullable column
(Inherited from Dialect.) |
![]() | OffsetStartsAtOne |
For limit clauses, indicates whether to use 0 or 1 as the offset that returns the first row. Should be true if the first row is at offset 1.
(Inherited from Dialect.) |
![]() | OpenQuote |
The opening quote for a quoted identifier.
(Inherited from Dialect.) |
![]() | PrimaryKeyString |
The keyword used to create a primary key constraint
(Inherited from Dialect.) |
![]() | QualifyIndexName |
Do we need to qualify index names with the schema name?
(Inherited from Dialect.) |
![]() | QuerySequencesString | Get the select command used retrieve the names of all sequences. (Inherited from Dialect.) |
![]() | SelectGUIDString | (Inherited from PostgreSQLDialect.) |
![]() | SupportsBindAsCallableArgument |
Does this dialect support using a JDBC bind parameter as an argument
to a function or procedure call?
(Inherited from Dialect.) |
![]() | SupportsCascadeDelete | (Inherited from Dialect.) |
![]() | SupportsCircularCascadeDeleteConstraints |
Does this dialect support definition of cascade delete constraints
which can cause circular chains?
(Inherited from Dialect.) |
![]() | SupportsColumnCheck | Does this dialect support column-level check constraints? (Inherited from Dialect.) |
![]() | SupportsCommentOn | (Inherited from Dialect.) |
![]() | SupportsCurrentTimestampSelection | Does this dialect support a way to retrieve the database's current timestamp value? (Inherited from Dialect.) |
![]() | SupportsEmptyInList |
Does this dialect support empty IN lists?
For example, is [where XYZ in ()] a supported construct?
(Inherited from Dialect.) |
![]() | SupportsExistsInSelect | Does the dialect support an exists statement in the select clause? (Inherited from Dialect.) |
![]() | SupportsExpectedLobUsagePattern |
Expected LOB usage pattern is such that I can perform an insert
via prepared statement with a parameter binding for a LOB value
without crazy casting to JDBC driver implementation-specific classes...
Part of the trickiness here is the fact that this is largely
driver dependent. For example, Oracle (which is notoriously bad with
LOB support in their drivers historically) actually does a pretty good
job with LOB support as of the 10.2.x versions of their drivers...
(Inherited from Dialect.) |
![]() | SupportsForeignKeyConstraintInAlterTable |
Does this dialect support adding foreign key constraints via alter table? If not, it's assumed they can only be added through create table.
(Inherited from Dialect.) |
![]() | SupportsIdentityColumns |
PostgreSQL supports Identity column using the "SERIAL" type.
(Inherited from PostgreSQL81Dialect.) |
![]() | SupportsIfExistsAfterTableName |
Does the dialect support the syntax 'drop table NAME if exists'
(Inherited from Dialect.) |
![]() | SupportsIfExistsBeforeTableName | (Overrides Dialect..::..SupportsIfExistsBeforeTableName.) |
![]() | SupportsInsertSelectIdentity | (Inherited from PostgreSQL81Dialect.) |
![]() | SupportsLimit | (Inherited from PostgreSQLDialect.) |
![]() | SupportsLimitOffset | (Inherited from PostgreSQLDialect.) |
![]() | SupportsLobValueChangePropogation | Does the dialect support propagating changes to LOB
values back to the database? Talking about mutating the
internal value of the locator as opposed to supplying a new
locator instance...
For BLOBs, the internal value might be changed by:
{@link java.sql.Blob#setBinaryStream},
{@link java.sql.Blob#setBytes(long, byte[])},
{@link java.sql.Blob#setBytes(long, byte[], int, int)},
or {@link java.sql.Blob#truncate(long)}.
For CLOBs, the internal value might be changed by:
{@link java.sql.Clob#setAsciiStream(long)},
{@link java.sql.Clob#setCharacterStream(long)},
{@link java.sql.Clob#setString(long, String)},
{@link java.sql.Clob#setString(long, String, int, int)},
or {@link java.sql.Clob#truncate(long)}.
NOTE : I do not know the correct answer currently for
databases which (1) are not part of the cruise control process
or (2) do not {@link #supportsExpectedLobUsagePattern}.
(Inherited from Dialect.) |
![]() | SupportsNotNullUnique | (Inherited from Dialect.) |
![]() | SupportsOuterJoinForUpdate |
Does this dialect support FOR UPDATE in conjunction with outer joined rows?
(Inherited from Dialect.) |
![]() | SupportsParametersInInsertSelect |
Does this dialect support parameters within the select clause of
INSERT ... SELECT ... statements?
(Inherited from Dialect.) |
![]() | SupportsPooledSequences |
Does this dialect support "pooled" sequences. Not aware of a better
name for this. Essentially can we specify the initial and increment values?
(Inherited from Dialect.) |
![]() | SupportsResultSetPositionQueryMethodsOnForwardOnlyCursor |
Does this dialect support asking the result set its positioning
information on forward only cursors. Specifically, in the case of
scrolling fetches, Hibernate needs to use
{@link java.sql.ResultSet#isAfterLast} and
{@link java.sql.ResultSet#isBeforeFirst}. Certain drivers do not
allow access to these methods for forward only cursors.
NOTE : this is highly driver dependent!
(Inherited from Dialect.) |
![]() | SupportsRowValueConstructorSyntax |
Is this dialect known to support what ANSI-SQL terms "row value
constructor" syntax; sometimes called tuple syntax.
Basically, does it support syntax like
"... where (FIRST_NAME, LAST_NAME) = ('Steve', 'Ebersole') ...".
(Inherited from Dialect.) |
![]() | SupportsRowValueConstructorSyntaxInInList |
If the dialect supports {@link #supportsRowValueConstructorSyntax() row values},
does it offer such support in IN lists as well?
For example, "... where (FIRST_NAME, LAST_NAME) IN ( (?, ?), (?, ?) ) ..."
(Inherited from Dialect.) |
![]() | SupportsSequences | (Inherited from PostgreSQLDialect.) |
![]() | SupportsSqlBatches |
Supports splitting batches using GO T-SQL command
(Inherited from Dialect.) |
![]() | SupportsSubqueryOnMutatingTable |
Does this dialect support referencing the table being mutated in
a subquery. The "table being mutated" is the table referenced in
an UPDATE or a DELETE query. And so can that table then be
referenced in a subquery of said UPDATE/DELETE query.
For example, would the following two syntaxes be supported: (Inherited from Dialect.)
|
![]() | SupportsSubselectAsInPredicateLHS |
Are subselects supported as the left-hand-side (LHS) of
IN-predicates.
In other words, is syntax like "... {subquery} IN (1, 2, 3) ..." supported?
(Inherited from Dialect.) |
![]() | SupportsSubSelects |
Does this dialect support subselects?
(Inherited from Dialect.) |
![]() | SupportsTableCheck | Does this dialect support table-level check constraints? (Inherited from Dialect.) |
![]() | SupportsTemporaryTables | (Inherited from PostgreSQLDialect.) |
![]() | SupportsUnboundedLobLocatorMaterialization |
Is it supported to materialize a LOB locator outside the transaction in
which it was created?
Again, part of the trickiness here is the fact that this is largely
driver dependent.
NOTE: all database I have tested which {@link #supportsExpectedLobUsagePattern()}
also support the ability to materialize a LOB outside the owning transaction...
(Inherited from Dialect.) |
![]() | SupportsUnionAll | PostgreSQL supports UNION ALL clause (Inherited from PostgreSQLDialect.) |
![]() | SupportsUnique |
Does this dialect support the UNIQUE column syntax?
(Inherited from Dialect.) |
![]() | SupportsUniqueConstraintInCreateAlterTable | Does this dialect support adding Unique constraints via create and alter table ? (Inherited from Dialect.) |
![]() | SupportsVariableLimit |
Can parameters be used for a statement containing a LIMIT?
(Inherited from Dialect.) |
![]() | TableTypeString | (Inherited from Dialect.) |
![]() | TimestampResolutionInTicks |
Gives the best resolution that the database can use for storing
date/time values, in ticks.
(Inherited from Dialect.) |
![]() | UseInputStreamToInsertBlob |
Should LOBs (both BLOB and CLOB) be bound using stream operations (i.e.
{@link java.sql.PreparedStatement#setBinaryStream}).
(Inherited from Dialect.) |
![]() | UseMaxForLimit |
Does the LIMIT clause take a "maximum" row number instead
of a total number of returned rows?
(Inherited from Dialect.) |
![]() | ViolatedConstraintNameExtracter | (Inherited from Dialect.) |