| java.lang.Object | ||
| ↳ | org.hibernate.id.SequenceGenerator | |
| ↳ | org.hibernate.id.SequenceHiLoGenerator | |
seqhilo
 
 An IdentifierGenerator that combines a hi/lo algorithm with an underlying
 oracle-style sequence that generates hi values. The user may specify a
 maximum lo value to determine how often new hi values are fetched.
 
 If sequences are not available, TableHiLoGenerator might be an
 alternative.
 
 Mapping parameters supported: sequence, max_lo, parameters.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | MAX_LO | ||||||||||
| 
  [Expand]
   Inherited Constants  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   From class
org.hibernate.id.SequenceGenerator
 | |||||||||||
   From interface
org.hibernate.id.IdentifierGenerator
 | |||||||||||
   From interface
org.hibernate.id.PersistentIdentifierGenerator
 | |||||||||||
| 
  [Expand]
   Inherited Fields  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   From interface
org.hibernate.id.PersistentIdentifierGenerator
 | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Configure this instance, given the value of parameters
 specified by the user as <param> elements. 
  
   | |||||||||||
Generate a new identifier. 
  
   | |||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  org.hibernate.id.SequenceGenerator
 | |||||||||||
   
From class
  java.lang.Object
 | |||||||||||
   
From interface
  org.hibernate.id.Configurable
 | |||||||||||
   
From interface
  org.hibernate.id.IdentifierGenerator
 | |||||||||||
   
From interface
  org.hibernate.id.PersistentIdentifierGenerator
 | |||||||||||
Configure this instance, given the value of parameters specified by the user as <param> elements. This method is called just once, following instantiation.
| params | param values, keyed by parameter name | 
|---|
| MappingException | 
|---|
Generate a new identifier.
| obj | the entity or toplevel collection for which the id is being generated | 
|---|