@PetiteBean
public class DbIdGenerator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.Class<?>,jodd.mutable.MutableLong> |
entityIdsMap |
| Constructor and Description |
|---|
DbIdGenerator() |
| Modifier and Type | Method and Description |
|---|---|
long |
nextId(java.lang.Class entityType)
Returns next ID for given entity type.
|
void |
reset()
Resets all stored data.
|
Copyright © 2003-present Jodd Team