com.cafesoft.core.util
Class SqlUtils

java.lang.Object
  |
  +--com.cafesoft.core.util.SqlUtils

public class SqlUtils
extends Object

Provides various SQL utility functions.

Since:
2/15/05

Constructor Summary
SqlUtils()
           
 
Method Summary
static String escapeLiteral(String value)
          Escape special characters in an SQL literal value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlUtils

public SqlUtils()
Method Detail

escapeLiteral

public static String escapeLiteral(String value)
Escape special characters in an SQL literal value.

Parameters:
value - the literal value containing possible special characters to be escaped.
Returns:
a new String containing escaped special characters or the original String if null, empty, or no special characters.


Generated on 8:41:50 AM June 06, 2005, © 1996-2005 Cafésoft LLC. All rights reserved.