public class UUIDHexGenerator extends AbstractUUIDGenerator implements Configurable
ENTITY_NAME, JPA_ENTITY_NAME
Constructor and Description |
---|
UUIDHexGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Type type,
java.util.Properties params,
Dialect d)
Configure this instance, given the value of parameters
specified by the user as <param> elements.
|
protected java.lang.String |
format(int intValue) |
protected java.lang.String |
format(short shortValue) |
java.io.Serializable |
generate(SessionImplementor session,
java.lang.Object obj)
Generate a new identifier.
|
public void configure(Type type, java.util.Properties params, Dialect d)
configure
in interface Configurable
params
- param values, keyed by parameter namepublic java.io.Serializable generate(SessionImplementor session, java.lang.Object obj)
generate
in interface IdentifierGenerator
obj
- the entity or toplevel collection for which the id is being generatedprotected java.lang.String format(int intValue)
protected java.lang.String format(short shortValue)
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.