Package org.hibernate.dialect.identity
Class MariaDBIdentityColumnSupport
java.lang.Object
org.hibernate.dialect.identity.IdentityColumnSupportImpl
org.hibernate.dialect.identity.MySQLIdentityColumnSupport
org.hibernate.dialect.identity.MariaDBIdentityColumnSupport
- All Implemented Interfaces:
IdentityColumnSupport
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendIdentitySelectToInsert
(String identityColumnName, String insertString) Provided weIdentityColumnSupport.supportsInsertSelectIdentity()
, then attach the "select identity" clause to the insert statement.Methods inherited from class org.hibernate.dialect.identity.MySQLIdentityColumnSupport
getIdentityColumnString, getIdentitySelectString, supportsIdentityColumns
Methods inherited from class org.hibernate.dialect.identity.IdentityColumnSupportImpl
appendIdentitySelectToInsert, buildGetGeneratedKeysDelegate, getIdentityInsertString, hasDataTypeInIdentityColumn, supportsInsertSelectIdentity
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.dialect.identity.IdentityColumnSupport
hasIdentityInsertKeyword
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MariaDBIdentityColumnSupport
public MariaDBIdentityColumnSupport()
-
-
Method Details
-
appendIdentitySelectToInsert
Description copied from interface:IdentityColumnSupport
Provided weIdentityColumnSupport.supportsInsertSelectIdentity()
, then attach the "select identity" clause to the insert statement.Note, if
IdentityColumnSupport.supportsInsertSelectIdentity()
== false then the insert-string should be returned without modification.- Parameters:
identityColumnName
- The name of the identity columninsertString
- The insert command- Returns:
- The insert command with any necessary identity select clause attached.
-