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