Package org.apache.empire.dbms.mysql
Class DBMSHandlerMySQL.DBSQLBuilderMySQL
java.lang.Object
org.apache.empire.db.DBSQLBuilder
org.apache.empire.dbms.mysql.DBMSHandlerMySQL.DBSQLBuilderMySQL
- All Implemented Interfaces:
Appendable
- Enclosing class:
- DBMSHandlerMySQL
Provides a DBSQLBuilder implementation for MySQL
-
Field Summary
Fields inherited from class org.apache.empire.db.DBSQLBuilder
cmdParamList, dbms, sql, TEXT_DELIMITER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidescapeAndAppendLiteral(String value) this helper function doubles up single quotes for SQLMethods inherited from class org.apache.empire.db.DBSQLBuilder
append, append, append, append, append, append, append, appendSimpleValue, appendStringLiteral, appendTemplate, appendValue, appendValue, appendValue, getDateTimeString, getDbms, getNumberString, getPhrase, length, replace, reset, setCmdParams, stringToBoolean, toString
-
Constructor Details
-
DBSQLBuilderMySQL
-
-
Method Details
-
escapeAndAppendLiteral
Description copied from class:DBSQLBuilderthis helper function doubles up single quotes for SQL- Overrides:
escapeAndAppendLiteralin classDBSQLBuilder- Parameters:
value- the string to escape and append
-