com.evolveum.midpoint.repo.sql.util
Class ContainerTypeGenerator

java.lang.Object
  extended by com.evolveum.midpoint.repo.sql.util.ContainerTypeGenerator
All Implemented Interfaces:
org.hibernate.id.IdentifierGenerator

public class ContainerTypeGenerator
extends Object
implements org.hibernate.id.IdentifierGenerator

Author:
lazyman

Field Summary
 
Fields inherited from interface org.hibernate.id.IdentifierGenerator
ENTITY_NAME, JPA_ENTITY_NAME
 
Constructor Summary
ContainerTypeGenerator()
           
 
Method Summary
 Serializable generate(org.hibernate.engine.spi.SessionImplementor session, Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerTypeGenerator

public ContainerTypeGenerator()
Method Detail

generate

public Serializable generate(org.hibernate.engine.spi.SessionImplementor session,
                             Object object)
                      throws org.hibernate.HibernateException
Specified by:
generate in interface org.hibernate.id.IdentifierGenerator
Throws:
org.hibernate.HibernateException


Copyright © 2013 evolveum. All Rights Reserved.