| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: The insert command with any necessary identity select clause attached.The insert command insertString)Provided we |
| public default String | Returns: The insert command with any necessary identity select clause attached.The name of the identity column identityColumnName, String The insert command insertString)Provided we |
| public GetGeneratedKeysDelegate | Returns: the dialect specific GetGeneratedKeys delegateThe persister persister, Dialect The dialect against which to generate the delegate dialect)The Delegate for dealing with IDENTITY columns using JDBC3 getGeneratedKeys |
| public String | Returns: The appropriate DDL fragment.The type)java. type code.The syntax used during DDL to define a column as being an IDENTITY of a particular type. |
| public String | Returns: The appropriate keyword.The keyword used to insert a generated value into an identity column (or null). |
| public String | Returns: The appropriate select commandThe table into which the insert was done table, String The PK column. column, int The type)java. type code.Get the select command to use to retrieve the last generated IDENTITY value for a particular table |
| public boolean | Returns: booleanWhether this dialect have an Identity clause added to the data type or a completely separate identity data type |
| public boolean | Returns: True if IDENTITY columns are supported; false otherwise.Does this dialect support identity column key generation? |
| public boolean | Returns: True if the dialect supports selecting the just generated IDENTITY in the insert statement.Does the dialect support some form of inserting and selecting the generated IDENTITY value all in the same statement. |
| appendIdentitySelectToInsert | back to summary |
|---|---|
| public String appendIdentitySelectToInsert(String insertString) Provided we
Note, if | |
| appendIdentitySelectToInsert | back to summary |
|---|---|
| public default String appendIdentitySelectToInsert(String identityColumnName, String insertString) Provided we
Note, if | |
| buildGetGeneratedKeysDelegate | back to summary |
|---|---|
| public GetGeneratedKeysDelegate buildGetGeneratedKeysDelegate(PostInsertIdentityPersister persister, Dialect dialect) The Delegate for dealing with IDENTITY columns using JDBC3 getGeneratedKeys
| |
| getIdentityColumnString | back to summary |
|---|---|
| public String getIdentityColumnString(int type) throws MappingException The syntax used during DDL to define a column as being an IDENTITY of a particular type.
| |
| getIdentityInsertString | back to summary |
|---|---|
| public String getIdentityInsertString() 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.
| |
| getIdentitySelectString | back to summary |
|---|---|
| public String getIdentitySelectString(String table, String column, int type) throws MappingException Get the select command to use to retrieve the last generated IDENTITY value for a particular table
| |
| hasDataTypeInIdentityColumn | back to summary |
|---|---|
| public boolean hasDataTypeInIdentityColumn() Whether this dialect have an Identity clause added to the data type or a completely separate identity data type
| |
| supportsIdentityColumns | back to summary |
|---|---|
| public boolean supportsIdentityColumns() Does this dialect support identity column key generation?
| |
| supportsInsertSelectIdentity | back to summary |
|---|---|
| public boolean supportsInsertSelectIdentity() Does the dialect support some form of inserting and selecting the generated IDENTITY value all in the same statement.
| |