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 java.lang.Object
implements org.hibernate.id.IdentifierGenerator

Author:
lazyman

Field Summary
 
Fields inherited from interface org.hibernate.id.IdentifierGenerator
ENTITY_NAME
 
Constructor Summary
ContainerOidGenerator()
           
 
Method Summary
 java.io.Serializable generate(org.hibernate.engine.spi.SessionImplementor session, java.lang.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 java.io.Serializable generate(org.hibernate.engine.spi.SessionImplementor session,
                                     java.lang.Object object)
                              throws org.hibernate.HibernateException
Specified by:
generate in interface org.hibernate.id.IdentifierGenerator
Throws:
org.hibernate.HibernateException


Copyright © 2012 evolveum. All Rights Reserved.