Package org.beangle.orm.hibernate.id
Class AutoIncrementGenerator
- java.lang.Object
-
- org.beangle.orm.hibernate.id.AutoIncrementGenerator
-
- All Implemented Interfaces:
org.hibernate.id.Configurable,org.hibernate.id.IdentifierGenerator
public class AutoIncrementGenerator extends Object implements org.hibernate.id.IdentifierGenerator, org.hibernate.id.Configurable
-
-
Constructor Summary
Constructors Constructor Description AutoIncrementGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(org.hibernate.type.Type t, Properties params, org.hibernate.dialect.Dialect dialect)Serializablegenerate(org.hibernate.engine.spi.SessionImplementor session, Object object)
-
-
-
Method Detail
-
configure
public void configure(org.hibernate.type.Type t, Properties params, org.hibernate.dialect.Dialect dialect) throws org.hibernate.MappingException- Specified by:
configurein interfaceorg.hibernate.id.Configurable- Throws:
org.hibernate.MappingException
-
generate
public Serializable generate(org.hibernate.engine.spi.SessionImplementor session, Object object) throws org.hibernate.HibernateException
- Specified by:
generatein interfaceorg.hibernate.id.IdentifierGenerator- Throws:
org.hibernate.HibernateException
-
-