@Repository(value="blIdGenerationDao") public class IdGenerationDaoImpl extends java.lang.Object implements IdGenerationDao
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Long |
defaultBatchSize |
protected java.lang.Long |
defaultBatchStart |
protected javax.persistence.EntityManager |
em |
protected EntityConfiguration |
entityConfiguration |
| Constructor and Description |
|---|
IdGenerationDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
IdGeneration |
findNextId(java.lang.String idType) |
java.lang.Long |
getDefaultBatchSize() |
java.lang.Long |
getDefaultBatchStart() |
void |
setDefaultBatchSize(java.lang.Long defaultBatchSize) |
void |
setDefaultBatchStart(java.lang.Long defaultBatchStart) |
protected java.lang.Long defaultBatchSize
protected java.lang.Long defaultBatchStart
protected javax.persistence.EntityManager em
protected EntityConfiguration entityConfiguration
public IdGeneration findNextId(java.lang.String idType) throws javax.persistence.OptimisticLockException, java.lang.Exception
findNextId in interface IdGenerationDaojavax.persistence.OptimisticLockExceptionjava.lang.Exceptionpublic java.lang.Long getDefaultBatchSize()
public void setDefaultBatchSize(java.lang.Long defaultBatchSize)
public java.lang.Long getDefaultBatchStart()
public void setDefaultBatchStart(java.lang.Long defaultBatchStart)
Copyright © 2018. All Rights Reserved.