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

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

public class ContainerIdGenerator
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
ContainerIdGenerator()
           
 
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

ContainerIdGenerator

public ContainerIdGenerator()
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.