public class PersistenceNextValueIdentityProcessor extends AbstractPersistenceProcessor
| Constructor and Description |
|---|
PersistenceNextValueIdentityProcessor(IEntityManagerInterceptor entityManagerInterceptor)
Instantiates a new persistence next value identity processor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
generateScript(Connection connection,
PersistenceTableModel tableModel)
Generate script.
|
long |
nextval(Connection connection,
PersistenceTableModel tableModel)
Nextval.
|
closePreparedStatement, getEntityManagerInterceptor, getPrimaryKey, getPrimaryKeyModel, getValueFromPojo, openPreparedStatement, setEntityManagerInterceptor, setValue, setValue, setValuePrimaryKey, setValuesFromPojo, setValueToPojo, setValueToPojo, shouldSetColumnValuepublic PersistenceNextValueIdentityProcessor(IEntityManagerInterceptor entityManagerInterceptor)
entityManagerInterceptor - the entity manager interceptorprotected String generateScript(Connection connection, PersistenceTableModel tableModel)
AbstractPersistenceProcessorgenerateScript in class AbstractPersistenceProcessorconnection - the connectiontableModel - the table modelpublic long nextval(Connection connection, PersistenceTableModel tableModel) throws PersistenceException
connection - the connectiontableModel - the table modelPersistenceException - the persistence exceptionCopyright © 2010–2018 Eclipse Foundation. All rights reserved.