public class BindableIdEmpty extends Object implements BindableId
| Constructor and Description |
|---|
BindableIdEmpty() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChanged(PersistRequestBean<?> request,
List<Bindable> list)
For Updates including only changed properties add the Bindable to the
list if it should be included in the 'update set'.
|
boolean |
deriveConcatenatedId(PersistRequestBean<?> persist)
Create the concatenated id for inserts with PFK relationships.
|
void |
dmlAppend(GenerateDmlRequest request,
boolean checkIncludes)
append sql to the buffer with prefix and suffix options.
|
void |
dmlBind(BindableRequest request,
boolean checkIncludes,
Object bean)
Bind given the request and bean.
|
void |
dmlBindWhere(BindableRequest request,
boolean checkIncludes,
Object bean) |
void |
dmlInsert(GenerateDmlRequest request,
boolean checkIncludes)
append sql to the buffer with prefix and suffix options.
|
void |
dmlWhere(GenerateDmlRequest request,
boolean checkIncludes,
Object bean)
For WHERE clauses append sql to the buffer with prefix and suffix
options.
|
String |
getIdentityColumn()
Return the DB Column to use with genGeneratedKeys.
|
boolean |
isConcatenated()
Return true if this is a concatenated key.
|
boolean |
isEmpty()
Return true if there is no Id properties at all.
|
public boolean isEmpty()
BindableIdisEmpty in interface BindableIdpublic void addChanged(PersistRequestBean<?> request, List<Bindable> list)
BindableaddChanged in interface Bindablepublic void dmlInsert(GenerateDmlRequest request, boolean checkIncludes)
Bindablepublic void dmlAppend(GenerateDmlRequest request, boolean checkIncludes)
Bindablepublic void dmlWhere(GenerateDmlRequest request, boolean checkIncludes, Object bean)
Bindablepublic void dmlBind(BindableRequest request, boolean checkIncludes, Object bean) throws SQLException
BindabledmlBind in interface BindableSQLExceptionpublic void dmlBindWhere(BindableRequest request, boolean checkIncludes, Object bean) throws SQLException
dmlBindWhere in interface BindableSQLExceptionpublic boolean isConcatenated()
BindableIdisConcatenated in interface BindableIdpublic String getIdentityColumn()
BindableIdgetIdentityColumn in interface BindableIdpublic boolean deriveConcatenatedId(PersistRequestBean<?> persist)
BindableIdReally only where there are ManyToOne assoc beans that make up the primary key and the values can be got from those.
deriveConcatenatedId in interface BindableIdCopyright © 2014. All Rights Reserved.