| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | castPattern(CastType
a from, CastType CastType indicating the
type of the value argumenta to)CastType indicating the
type the value argument is cast toOverrides org. cast() function call.
|
| public MutationOperation | createOptionalTableUpdateOperation(EntityMutationTarget mutationTarget, OptionalTableUpdate optionalTableUpdate, SessionFactoryImplementor factory)
Overrides org.
Deprecated
as a consequence of
Create a SessionFactoryImplementor being deprecated.
MutationOperation for a updating an optional table
|
| public String | currentTimestamp()
Overrides org. current_timestamp function,
which maps to the Java type java. which is
a datetime with no time zone.
|
| public ResultSet | getResultSet(CallableStatement
The callable statement. ps)Overrides org. registerResultSetOutParameter, extract the
ResultSet from the OUT parameter.
|
| public String | getSelectGUIDString()
Overrides org. |
| public void | initializeFunctionRegistry(FunctionContributions functionContributions)
Overrides org. |
| public int | registerResultSetOutParameter(CallableStatement
The callable statement. statement, int The bind position at which to register the output param. col)Overrides org. ResultSet
by position, either an OUT parameter, or a
REF_CURSOR parameter as defined in Java 8.
|
| public String | timestampdiffPattern(TemporalUnit
the first argument unit, TemporalType true if the first argument is
a timestamp, false if a date fromTemporalType, TemporalType true if the second argument is toTemporalType)Overrides org. timestampdiff() function call.
|
| PostgresPlusDialect | back to summary |
|---|---|
| public PostgresPlusDialect() Constructs a PostgresPlusDialect | |
| PostgresPlusDialect | back to summary |
|---|---|
| public PostgresPlusDialect(DialectResolutionInfo info) | |
| PostgresPlusDialect | back to summary |
|---|---|
| public PostgresPlusDialect(DatabaseVersion version) | |
| castPattern | back to summary |
|---|---|
| public String castPattern(CastType from, CastType to) Overrides org. Doc from org. Obtain a pattern for the SQL equivalent to a
| |
| createOptionalTableUpdateOperation | back to summary |
|---|---|
| public MutationOperation createOptionalTableUpdateOperation(EntityMutationTarget mutationTarget, OptionalTableUpdate optionalTableUpdate, SessionFactoryImplementor factory) Overrides org. Doc from org. Deprecated as a consequence of Create a
| |
| currentTimestamp | back to summary |
|---|---|
| public String currentTimestamp() Overrides org. Doc from org. Translation of the HQL/JPQL
It is recommended to override this in dialects for databases which
support
| |
| getResultSet | back to summary |
|---|---|
| public ResultSet getResultSet(CallableStatement ps) throws SQLException Overrides org. Doc from org. Given a callable statement previously
processed by
| |
| getSelectGUIDString | back to summary |
|---|---|
| public String getSelectGUIDString() Overrides org. Doc from org. Get the command used to select a GUID from the database. Optional operation. | |
| initializeFunctionRegistry | back to summary |
|---|---|
| public void initializeFunctionRegistry(FunctionContributions functionContributions) Overrides org. Doc from org. Initialize the given registry with any dialect-specific functions. Support for certain SQL functions is required, and if the database does not support a required function, then the dialect must define a way to emulate it. These required functions include the functions defined by the JPA query language specification:
java.time
types:
extract(), and desugared by the parser:
second()
function returns a floating point value, contrary to the integer
type returned by the native function with this name on many databases.
Thus, we don't just naively map these HQL functions to the native SQL
functions with the same names.
| |
| registerResultSetOutParameter | back to summary |
|---|---|
| public int registerResultSetOutParameter(CallableStatement statement, int col) throws SQLException Overrides org. Doc from org. Registers a parameter capable of returning a
| |
| timestampdiffPattern | back to summary |
|---|---|
| public String timestampdiffPattern(TemporalUnit unit, TemporalType fromTemporalType, TemporalType toTemporalType) Overrides org. Doc from org. Obtain a pattern for the SQL equivalent to a
| |