Replaces non-deterministic CURRENT_DATE functions with deterministic static values.
Parameters: sql - an SQL statement Parameters: date - the replacement date an equivalent deterministic SQL statement throws: SQLException - since: 2.0.2
Replaces non-deterministic CURRENT_TIME functions with deterministic static values.
Parameters: sql - an SQL statement Parameters: time - the replacement time an equivalent deterministic SQL statement throws: SQLException - since: 2.0.2
Returns a SQL statement used reset the current value of an identity column.
Parameters: table - a sequence name Parameters: column - a sequence name Parameters: value - a sequence value a SQL statement throws: SQLException - since: 2.0.2
Returns a SQL statement used reset the current value of a sequence.
Parameters: sequence - a sequence name Parameters: value - a sequence value a SQL statement throws: SQLException - since: 2.0
Returns the data type of the specified column of the specified schema and table.
This method is intended to correct JDBC driver type mapping flaws.
Parameters: properties - table column meta data the JDBC data type of this column throws: SQLException -
Returns a SQL statement used to create a foreign key constraint.
Parameters: constraint - foreign key constraint meta data a SQL statement throws: SQLException - if there was an error fetching meta data.
Returns a SQL statement used to create a unique constraint.
Parameters: constraint - unique constraint meta data a SQL statement throws: SQLException - if there was an error fetching meta data.
Returns a SQL statement used to drop a foreign key constraint.
Parameters: constraint - foreign key constraint meta data a SQL statement throws: SQLException - if there was an error fetching meta data.
Returns a SQL statement used to drop a unique constraint.
Parameters: constraint - unique constraint meta data a SQL statement throws: SQLException - if there was an error fetching meta data.
Returns a SQL statement for obtaining the next value the specified sequence
Parameters: sequence - a sequence name a SQL statement throws: SQLException - since: 2.0
Returns a collection of all sequences in this database.
Parameters: metaData - database meta data a collection of sequence names throws: SQLException - since: 2.0
Returns a SQL statement used to truncate a table.
Parameters: properties - table meta data a SQL statement throws: SQLException - if there was an error fetching meta data.
Indicates whether or not the specified column is an identity column.
Parameters: properties - a table column true, if this column is an identity column, false otherwise throws: SQLException - since: 2.0
Determines whether the specified SQL is a SELECT ... FOR UPDATE statement
Parameters: sql - a SQL statement true if this is a SELECT ... FOR UPDATE statement, false if it is not throws: SQLException - if there was an error fetching meta data.
Parses a table name from the specified INSERT SQL statement that may contain identity columns.
Parameters: sql - a SQL statement the name of a table, or null if this SQL statement is not an INSERT statement or this dialect does not support identity columns throws: SQLException - since: 2.0
Parses a sequence name from the specified SQL statement.
Parameters: sql - a SQL statement the name of a sequence, or null if this SQL statement does not reference a sequence or this dialect does not support sequences throws: SQLException - since: 2.0