java.lang.Object
com.jcorporate.expresso.core.db.DoubleQuoteEscapeHandler
- All Implemented Interfaces:
- EscapeHandler
- public class DoubleQuoteEscapeHandler
- extends java.lang.Object
- implements EscapeHandler
This class provides escape handling mechanism for SapDB. Sap is a little
different from many other databases, probably because a lot of it is Pascal
based. Either way, it handles backslashes just fine, but it will choke on
single quotes unless they are made ''. Double quotes for now are still
gobbled up.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fieldFilter
private static transient com.jcorporate.expresso.core.security.filters.Filter fieldFilter
DoubleQuoteEscapeHandler
public DoubleQuoteEscapeHandler()
init
private void init()
escapeString
public java.lang.String escapeString(java.lang.String input)
- Description copied from interface:
EscapeHandler
- Escape a string so that all special characters for that database are properly
escaped.
- Specified by:
escapeString in interface EscapeHandler