|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjxtray.SQLUtilities
This is a class that contains only static methods for SQL use.
Constructor Summary | |
SQLUtilities()
|
Method Summary | |
static java.lang.String |
addSlashes(java.lang.String oldQuery,
java.lang.String spaceChar,
java.lang.String targetChar)
Add slashes to the query whene it contains quote. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SQLUtilities()
Method Detail |
public static java.lang.String addSlashes(java.lang.String oldQuery, java.lang.String spaceChar, java.lang.String targetChar)
oldQuery
- Query to parsespaceChar
- Escape delimtor. With MySQL = \ with ORACLE = 'targetChar
- Char to replace
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |