public class

UUIDHexGenerator

extends AbstractUUIDGenerator
implements Configurable
java.lang.Object
   ↳ org.hibernate.id.AbstractUUIDGenerator
     ↳ org.hibernate.id.UUIDHexGenerator

Class Overview

uuid

A UUIDGenerator that returns a string of length 32, This string will consist of only hex digits. Optionally, the string may be generated with separators between each component of the UUID. Mapping parameters supported: separator.

Summary

[Expand]
Inherited Constants
From interface org.hibernate.id.IdentifierGenerator
Public Constructors
UUIDHexGenerator()
Public Methods
void configure(Type type, Properties params, Dialect d)
Configure this instance, given the value of parameters specified by the user as <param> elements.
Serializable generate(SessionImplementor session, Object obj)
Protected Methods
String format(int intValue)
String format(short shortValue)
[Expand]
Inherited Methods
From class org.hibernate.id.AbstractUUIDGenerator
From class java.lang.Object
From interface org.hibernate.id.Configurable
From interface org.hibernate.id.IdentifierGenerator

Public Constructors

public UUIDHexGenerator ()

Public Methods

public void configure (Type type, Properties params, Dialect d)

Configure this instance, given the value of parameters specified by the user as <param> elements. This method is called just once, following instantiation.

Parameters
params param values, keyed by parameter name

public Serializable generate (SessionImplementor session, Object obj)

Protected Methods

protected String format (int intValue)

protected String format (short shortValue)