Top Description Methods
org.hibernate.tuple

public Interface ValueGenerator<T>

Imports
org.hibernate.Session

Defines a generator for in-VM generation of (non-identifier) attribute values.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public T

Returns:

The generated value
generateValue
(Session
The Session from which the request originates.
session
,
Object
The instance of the object owning the attribute for which we are generating a value.
owner
)

Deprecated as a consequence of Session being deprecated.
Generate the value.

Method Detail

generateValueback to summary
public T generateValue(Session session, Object owner)

Deprecated

as a consequence of Session being deprecated. See corresponding docs for further information.

Generate the value.

Parameters
session:Session

The Session from which the request originates.

owner:Object

The instance of the object owning the attribute for which we are generating a value.

Returns:T

The generated value