org.hibernate.id
Class IdentityGenerator
java.lang.Object
org.hibernate.id.AbstractPostInsertGenerator
org.hibernate.id.IdentityGenerator
- All Implemented Interfaces:
- IdentifierGenerator, PostInsertIdentifierGenerator
public class IdentityGenerator
- extends AbstractPostInsertGenerator
A generator for use with ANSI-SQL IDENTITY columns used as the primary key.
The IdentityGenerator for autoincrement/identity key generation.
Indicates to the Session that identity (ie. identity/autoincrement
column) key generation should be used.
- Author:
- Christoph Sturm
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdentityGenerator
public IdentityGenerator()
getInsertGeneratedIdentifierDelegate
public InsertGeneratedIdentifierDelegate getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister,
Dialect dialect,
boolean isGetGeneratedKeysEnabled)
throws HibernateException
- Throws:
HibernateException
Copyright © null-null Red Hat Middleware, LLC. All Rights Reserved