|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSQLSupportConfig
public abstract class SQLSupportConfig
Configuration JavaBean used in conjunction with the SQLSupport
class to configure
the way in which SQL statements are created. This abstract class can be implemented by
subclasses to provide varying ways of configuring these properties.
Constructor Summary | |
---|---|
SQLSupportConfig()
|
Method Summary | |
---|---|
abstract String |
getQuoteChar()
Get the quote character used to wrap string types inside of SQL statements. |
abstract boolean |
getSupportsLikeEscapeClause()
Get a boolean that enables or disables an ESCAPE clause when generating a LIKE clause in a SQL statement. |
abstract void |
setQuoteChar(String quoteChar)
Set the quote character used to quote strings types when embedded inside of SQL statements. |
abstract void |
setSupportsLikeEscapeClause(boolean supportsLikeEscapeClause)
Set a boolean that enables or disables generating an ESCAPE clause when generating a LIKE clause into a SQL WHERE filter. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLSupportConfig()
Method Detail |
---|
public abstract void setQuoteChar(String quoteChar)
quoteChar
- the quote characterpublic abstract String getQuoteChar()
public abstract void setSupportsLikeEscapeClause(boolean supportsLikeEscapeClause)
supportsLikeEscapeClause
- boolean to support escaping a LIKE clausepublic abstract boolean getSupportsLikeEscapeClause()
true
if escaping is enabled; false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |