| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | appendIdentitySelectToInsert(String
The insert command insertString)Implements org. supportsInsertSelectIdentity, then attach the
"select identity" clause to the insert statement.
|
| public GetGeneratedKeysDelegate | buildGetGeneratedKeysDelegate(PostInsertIdentityPersister
The persister persister, Dialect The dialect against which to generate the delegate dialect)Implements org. |
| public String | getIdentityColumnString(int
The type)java. type code.Implements org. |
| public String | getIdentityInsertString()
Implements org. |
| public String | getIdentitySelectString(String
The table into which the insert was done table, String The PK column. column, int The type)java. type code.Implements org. |
| public boolean | hasDataTypeInIdentityColumn()
Implements org. |
| public boolean | supportsIdentityColumns()
Implements org. |
| public boolean | supportsInsertSelectIdentity()
Implements org. |
| IdentityColumnSupportImpl | back to summary |
|---|---|
| public IdentityColumnSupportImpl() | |
| appendIdentitySelectToInsert | back to summary |
|---|---|
| public String appendIdentitySelectToInsert(String insertString) Implements org. Doc from org. Provided we
Note, if | |
| buildGetGeneratedKeysDelegate | back to summary |
|---|---|
| public GetGeneratedKeysDelegate buildGetGeneratedKeysDelegate(PostInsertIdentityPersister persister, Dialect dialect) Implements org. Doc from org. The Delegate for dealing with IDENTITY columns using JDBC3 getGeneratedKeys
| |
| getIdentityColumnString | back to summary |
|---|---|
| public String getIdentityColumnString(int type) throws MappingException Implements org. Doc from org. The syntax used during DDL to define a column as being an IDENTITY of a particular type.
| |
| getIdentityInsertString | back to summary |
|---|---|
| public String getIdentityInsertString() Implements org. Doc from org. 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 Implements org. Doc from org. Get the select command to use to retrieve the last generated IDENTITY value for a particular table
| |
| hasDataTypeInIdentityColumn | back to summary |
|---|---|
| public boolean hasDataTypeInIdentityColumn() Implements org. Doc from org. 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() Implements org. Doc from org. Does this dialect support identity column key generation?
| |
| supportsInsertSelectIdentity | back to summary |
|---|---|
| public boolean supportsInsertSelectIdentity() Implements org. Doc from org. Does the dialect support some form of inserting and selecting the generated IDENTITY value all in the same statement.
| |