public class GuidGenerator extends Object implements org.hibernate.id.IdentifierGenerator
PortalUtil.generateNewGuid()
to generate the identifier.Constructor and Description |
---|
GuidGenerator() |
Modifier and Type | Method and Description |
---|---|
Serializable |
generate(org.hibernate.engine.SessionImplementor session,
Object object)
Calls
PortalUtil.generateNewGuid() to generate the identifier. |
public Serializable generate(org.hibernate.engine.SessionImplementor session, Object object) throws org.hibernate.HibernateException
PortalUtil.generateNewGuid()
to generate the identifier.generate
in interface org.hibernate.id.IdentifierGenerator
session
- object
- the entity or toplevel collection for which the id is being generatedorg.hibernate.HibernateException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.