public interface BindableRequest
| Modifier and Type | Method and Description |
|---|---|
Object |
bind(Object value,
BeanProperty prop,
String propName,
boolean bindNull)
Bind the value to a PreparedStatement.
|
Object |
bind(String propName,
Object value,
int sqlType)
Bind a raw value.
|
Object |
bindNoLog(Object value,
BeanProperty prop,
String propName,
boolean bindNull)
Bind the value to the preparedStatement without logging.
|
Object |
bindNoLog(Object value,
int sqlType,
String logPlaceHolder)
Bind a raw value with a placeHolder to put into the transaction log.
|
PersistRequestBean<?> |
getPersistRequest()
Return the original PersistRequest.
|
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 |
registerAdditionalProperty(String propertyName)
Register a property into loadedProperties if required.
|
void |
registerDerivedRelationship(DerivedRelationshipData assocBean) |
void |
registerUpdateGenValue(BeanProperty prop,
Object bean,
Object value)
Register the value from a update GeneratedValue.
|
void |
setIdValue(Object idValue)
Set the id for use with summary level logging.
|
void setIdValue(Object idValue)
Object bind(Object value, BeanProperty prop, String propName, boolean bindNull) throws SQLException
Takes into account logicalType to dbType conversion if required.
Returns the value that was bound (and was potentially converted from logicalType to dbType.
value - the value of a propertybindNull - if true bind null values, if false use IS NULL.SQLExceptionObject bind(String propName, Object value, int sqlType) throws SQLException
SQLExceptionObject bindNoLog(Object value, int sqlType, String logPlaceHolder) throws SQLException
SQLExceptionObject bindNoLog(Object value, BeanProperty prop, String propName, boolean bindNull) throws SQLException
SQLExceptionboolean isIncluded(BeanProperty prop)
boolean isIncludedWhere(BeanProperty prop)
void registerUpdateGenValue(BeanProperty prop, Object bean, Object value)
void registerAdditionalProperty(String propertyName)
PersistRequestBean<?> getPersistRequest()
void registerDerivedRelationship(DerivedRelationshipData assocBean)
Copyright © 2014. All Rights Reserved.