public class DeleteHandler extends DmlHandler
bindLog, dataBind, emptyStringToNull, loadedProps, logLevelSql, persistRequest, sql, transaction, updateGenValues| Constructor and Description |
|---|
DeleteHandler(PersistRequestBean<?> persist,
DeleteMeta meta) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind()
Generate and bind the delete statement.
|
void |
execute()
Execute the delete non-batch.
|
boolean |
isIncluded(BeanProperty prop)
Return true if the property is included in this request.
|
boolean |
isIncludedWhere(BeanProperty prop)
Return true if the property is included in the WHERE clause for this
request.
|
void |
registerDerivedRelationship(DerivedRelationshipData assocBean) |
addBatch, bind, bind, bindNoLog, bindNoLog, checkRowCount, close, getBindLog, getPersistRequest, getPstmt, getPstmt, logSql, registerAdditionalProperty, registerUpdateGenValue, setAdditionalProperties, setIdValue, setUpdateGenValuespublic DeleteHandler(PersistRequestBean<?> persist, DeleteMeta meta)
public void bind()
throws SQLException
bind in interface PersistHandlerbind in class DmlHandlerSQLExceptionpublic void execute()
throws SQLException,
javax.persistence.OptimisticLockException
execute in interface PersistHandlerexecute in class DmlHandlerSQLExceptionjavax.persistence.OptimisticLockExceptionpublic boolean isIncluded(BeanProperty prop)
BindableRequestisIncluded in interface BindableRequestisIncluded in class DmlHandlerpublic boolean isIncludedWhere(BeanProperty prop)
BindableRequestisIncludedWhere in interface BindableRequestisIncludedWhere in class DmlHandlerpublic void registerDerivedRelationship(DerivedRelationshipData assocBean)
Copyright © 2014. All Rights Reserved.