Package org.hibernate.tuple
Interface InMemoryValueGenerationStrategy
-
public interface InMemoryValueGenerationStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GenerationTiming
getGenerationTiming()
When is this value generated : NEVER, INSERT, ALWAYS (INSERT+UPDATE)ValueGenerator
getValueGenerator()
Obtain the in-VM value generator.
-
-
-
Method Detail
-
getGenerationTiming
GenerationTiming getGenerationTiming()
When is this value generated : NEVER, INSERT, ALWAYS (INSERT+UPDATE)- Returns:
- When the value is generated.
-
getValueGenerator
ValueGenerator getValueGenerator()
Obtain the in-VM value generator. May returnnull
. In fact for values that are generated "in the database" via execution of the INSERT/UPDATE statement, the expectation is thatnull
be returned here- Returns:
- The strategy for performing in-VM value generation
-
-