Class EscapeProcessor
java.lang.Object
com.mysql.jdbc.EscapeProcessor
EscapeProcessor performs all escape code processing as outlined in the JDBC spec by JavaSoft.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final ObjectescapeSQL(String sql, boolean serverSupportsConvertFn, MySQLConnection conn) Escape process one string
-
Constructor Details
-
EscapeProcessor
EscapeProcessor()
-
-
Method Details
-
escapeSQL
public static final Object escapeSQL(String sql, boolean serverSupportsConvertFn, MySQLConnection conn) throws SQLException Escape process one string- Parameters:
sql- the SQL to escape process.- Returns:
- the SQL after it has been escape processed.
- Throws:
SQLExceptionSQLException
-