Top Methods
org.hibernate.tuple

public Interface InMemoryValueGenerationStrategy

Known Direct Implementers
org.hibernate.tuple.entity.EntityMetamodel.NoInMemoryValueGenerationStrategy, org.hibernate.tuple.entity.EntityMetamodel.FullInMemoryValueGenerationStrategy

Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public GenerationTiming

Returns:

When the value is generated.
getGenerationTiming
()

When is this value generated : NEVER, INSERT, ALWAYS (INSERT+UPDATE)

public ValueGenerator<T>

Returns:

The strategy for performing in-VM value generation
getValueGenerator
()

Obtain the in-VM value generator.

Method Detail

getGenerationTimingback to summary
public GenerationTiming getGenerationTiming()

When is this value generated : NEVER, INSERT, ALWAYS (INSERT+UPDATE)

Returns:GenerationTiming

When the value is generated.

getValueGeneratorback to summary
public ValueGenerator<T> getValueGenerator()

Obtain the in-VM value generator.

May return null. In fact for values that are generated "in the database" via execution of the INSERT/UPDATE statement, the expectation is that null be returned here

Returns:ValueGenerator<T>

The strategy for performing in-VM value generation