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

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

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

ContainerOidGenerator

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