public class UpdateHandler extends DmlHandler
bindLog, dataBind, emptyStringToNull, loadedProps, logLevelSql, persistRequest, sql, transaction, updateGenValues| Constructor and Description |
|---|
UpdateHandler(PersistRequestBean<?> persist,
UpdateMeta meta) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch()
Add this for batch execution.
|
void |
bind()
Generate and bind the update statement.
|
void |
execute()
Execute the update in non-batch.
|
boolean |
isIncluded(BeanProperty prop)
Return true if the property is included in this request.
|
void |
registerDerivedRelationship(DerivedRelationshipData derivedRelationship) |
bind, bind, bindNoLog, bindNoLog, checkRowCount, close, getBindLog, getPersistRequest, getPstmt, getPstmt, isIncludedWhere, logSql, registerAdditionalProperty, registerUpdateGenValue, setAdditionalProperties, setIdValue, setUpdateGenValuespublic UpdateHandler(PersistRequestBean<?> persist, UpdateMeta meta)
public void bind()
throws SQLException
bind in interface PersistHandlerbind in class DmlHandlerSQLExceptionpublic void addBatch()
throws SQLException
DmlHandleraddBatch in interface PersistHandleraddBatch 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 void registerDerivedRelationship(DerivedRelationshipData derivedRelationship)
Copyright © 2014. All Rights Reserved.