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