@Named(value="oracleSequence") public class OracleSequenceGenerator extends Object implements SequenceGenerator
Constructor and Description |
---|
OracleSequenceGenerator() |
Modifier and Type | Method and Description |
---|---|
<E extends Entity<Long>> |
generate(Class<E> entityClass)
Generate a new identifier for an entity of the specified class.
|
public <E extends Entity<Long>> Long generate(Class<E> entityClass)
IdentityGenerator
generate
in interface IdentityGenerator<Long>
E
- the entity type.entityClass
- the entity class to generate an identity for.Copyright © 2013-2018–2019 SeedStack. All rights reserved.