T - the generic typepublic class PersistenceExecuteProcessor<T> extends AbstractPersistenceProcessor
| Constructor and Description |
|---|
PersistenceExecuteProcessor(IEntityManagerInterceptor entityManagerInterceptor)
Instantiates a new persistence execute processor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
execute(Connection connection,
String sql,
List<Object> values)
Execute.
|
protected String |
generateScript(Connection connection,
PersistenceTableModel tableModel)
Generate script.
|
closePreparedStatement, getEntityManagerInterceptor, getPrimaryKey, getPrimaryKeyModel, getValueFromPojo, openPreparedStatement, setEntityManagerInterceptor, setValue, setValue, setValuePrimaryKey, setValuesFromPojo, setValueToPojo, setValueToPojo, shouldSetColumnValuepublic PersistenceExecuteProcessor(IEntityManagerInterceptor entityManagerInterceptor)
entityManagerInterceptor - the entity manager interceptorprotected String generateScript(Connection connection, PersistenceTableModel tableModel)
AbstractPersistenceProcessorgenerateScript in class AbstractPersistenceProcessorconnection - the connectiontableModel - the table modelpublic int execute(Connection connection, String sql, List<Object> values)
connection - the connectionsql - the sqlvalues - the valuesCopyright © 2010–2018 Eclipse Foundation. All rights reserved.