public interface SpiUpdatePlan
This is a cachable plan with the purpose of being being able to skip some phases of the update bean processing.
The plans are cached by the BeanDescriptors. >
| Modifier and Type | Method and Description |
|---|---|
void |
bindSet(DmlHandler bind,
Object bean)
Bind given the request and bean.
|
Integer |
getKey()
Return the hash key for this plan.
|
ConcurrencyMode |
getMode()
Return the concurrency mode for this plan.
|
Set<String> |
getProperties()
Return the properties that where changed and should be included in the
update statement.
|
Bindable |
getSet()
Return the set of bindable update properties.
|
String |
getSql()
Return the update SQL statement.
|
long |
getTimeCreated()
Return the time this plan was created.
|
Long |
getTimeLastUsed()
Return the time this plan was last used.
|
boolean |
isEmptySetClause()
Return true if the set clause has no columns.
|
boolean isEmptySetClause()
Can occur when the only columns updated have a updatable=false in their deployment.
void bindSet(DmlHandler bind, Object bean) throws SQLException
SQLExceptionlong getTimeCreated()
Long getTimeLastUsed()
Integer getKey()
ConcurrencyMode getMode()
String getSql()
Bindable getSet()
Copyright © 2014. All Rights Reserved.