|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.xoetrope.optional.data.sql.SqlHelper
public class SqlHelper
A set of helpers to help with SQL generation
Copyright (c) Xoetrope Ltd. 2001-2006
$Revision: 2.11 $ License: see license.txt
| Constructor Summary | |
|---|---|
SqlHelper()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
escapeQuotes(java.lang.String s)
Escape quotes in a string |
static java.lang.String |
getEscapeClause()
Get the escape clause to append to escaped SQL commands |
static void |
setEscapeCharacter(java.lang.String s)
Set the escape character |
static void |
setEscapeClause(java.lang.String clause)
Get the escape clause to append to escaped SQL commands |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SqlHelper()
| Method Detail |
|---|
public static java.lang.String escapeQuotes(java.lang.String s)
s - the source string
public static java.lang.String getEscapeClause()
public static void setEscapeCharacter(java.lang.String s)
c - the new escape characterpublic static void setEscapeClause(java.lang.String clause)
clause - the new escape clause
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||