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 MySQLIdentityColumnSupport
getIdentityColumnString, getIdentitySelectString, supportsIdentityColumnsMethods inherited from class IdentityColumnSupportImpl
appendIdentitySelectToInsert, buildGetGeneratedKeysDelegate, getIdentityInsertString, hasDataTypeInIdentityColumn, supportsInsertSelectIdentityMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IdentityColumnSupport
hasIdentityInsertKeyword
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MariaDBIdentityColumnSupport
public MariaDBIdentityColumnSupport()
-
-
Method Details
-
appendIdentitySelectToInsert
Description copied from interface:IdentityColumnSupportProvided 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.
-