public class GenerateDmlRequest extends Object
Constructor and Description |
---|
GenerateDmlRequest(boolean emptyStringAsNull)
Create for generating standard all properties DML/SQL.
|
GenerateDmlRequest(boolean emptyStringAsNull,
Set<String> includeProps,
Object oldValues)
Create with includeWhereProps same as includeProps.
|
GenerateDmlRequest(boolean emptyStringAsNull,
Set<String> includeProps,
Set<String> includeWhereProps,
Object oldValues)
Create from a PersistRequestBean.
|
Modifier and Type | Method and Description |
---|---|
GenerateDmlRequest |
append(String s) |
void |
appendColumn(String column) |
void |
appendColumn(String column,
String suffik) |
void |
appendColumn(String column,
String expr,
String suffik) |
void |
appendColumnIsNull(String column) |
int |
getBindColumnCount() |
String |
getInsertBindBuffer() |
Object |
getOldValues() |
boolean |
isDbNull(Object v) |
boolean |
isIncluded(BeanProperty prop)
Return true if this property should be included in the set clause.
|
boolean |
isIncludedWhere(BeanProperty prop)
Return true if this property should be included in the where clause.
|
void |
setInsertSetMode() |
void |
setUpdateSetMode() |
void |
setWhereIdMode() |
void |
setWhereMode() |
String |
toString() |
public GenerateDmlRequest(boolean emptyStringAsNull, Set<String> includeProps, Object oldValues)
public GenerateDmlRequest(boolean emptyStringAsNull, Set<String> includeProps, Set<String> includeWhereProps, Object oldValues)
public GenerateDmlRequest(boolean emptyStringAsNull)
public GenerateDmlRequest append(String s)
public boolean isDbNull(Object v)
public boolean isIncluded(BeanProperty prop)
public boolean isIncludedWhere(BeanProperty prop)
public void appendColumnIsNull(String column)
public void appendColumn(String column)
public int getBindColumnCount()
public String getInsertBindBuffer()
public void setWhereMode()
public void setWhereIdMode()
public void setInsertSetMode()
public void setUpdateSetMode()
public Object getOldValues()
Copyright © 2015. All Rights Reserved.