org.iternine.jeppetto.dao.hibernate
Class UUIDIdentifierGenerator

java.lang.Object
  extended by org.iternine.jeppetto.dao.hibernate.UUIDIdentifierGenerator
All Implemented Interfaces:
org.hibernate.id.IdentifierGenerator

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


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

Constructor Detail

UUIDIdentifierGenerator

public UUIDIdentifierGenerator()
Method Detail

generate

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


Copyright © 2012. All Rights Reserved.