@Service public class DBSequenceGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
NEXT_SEQ_SQL_QUERY |
| Constructor and Description |
|---|
DBSequenceGenerator() |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
createAndGetNextSequence(String sequenceName) |
public static final String NEXT_SEQ_SQL_QUERY
@Transactional(readOnly=true,
propagation=REQUIRES_NEW,
noRollbackFor=org.hibernate.exception.SQLGrammarException.class)
public Serializable createAndGetNextSequence(String sequenceName)
throws SQLException
SQLExceptionCopyright © 2015–2016 eGovernments Foundation. All rights reserved.