Package org.fugerit.java.core.db.daogen
Class UpdateHelper
- java.lang.Object
-
- org.fugerit.java.core.db.daogen.BasicHelper
-
- org.fugerit.java.core.db.daogen.QueryHelper
-
- org.fugerit.java.core.db.daogen.UpdateHelper
-
- All Implemented Interfaces:
Serializable
public class UpdateHelper extends QueryHelper
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.fugerit.java.core.db.daogen.QueryHelper
CLOSE_PARA, OPEN_PARA, QUESTION_MARK, WHITESPACE
-
Fields inherited from class org.fugerit.java.core.db.daogen.BasicHelper
UNSOPPORTED_OPERATION
-
-
Constructor Summary
Constructors Constructor Description UpdateHelper(String table, FieldList fl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSetParam(String columnName, Object value)
void
andWhereParam(String columnName, Object value)
String
getQueryContent()
Builds the query context of all query buffer.-
Methods inherited from class org.fugerit.java.core.db.daogen.QueryHelper
append, appendToQuery, appendToQueryWithSpace, appendWithSpace, closePara, getFields, getQuery, getTable, openPara
-
Methods inherited from class org.fugerit.java.core.db.daogen.BasicHelper
throwUnsupported
-
-
-
-
Method Detail
-
getQueryContent
public String getQueryContent()
Description copied from class:QueryHelper
Builds the query context of all query buffer. (To be preferred to getQuery().toString() method).- Overrides:
getQueryContent
in classQueryHelper
- Returns:
- the current query content
-
-