railo.commons.sql
Class SQLUtil

java.lang.Object
  extended by railo.commons.sql.SQLUtil

public class SQLUtil
extends Object


Constructor Summary
SQLUtil()
           
 
Method Summary
static void closeEL(Statement stat)
           
static boolean isOracle(Connection conn)
           
static boolean match(Pattern pattern, String string)
           
static Pattern pattern(String pstr, boolean ignoreCase)
           
static String removeLiterals(String sql)
           
static Blob toBlob(Connection conn, Object value)
          create a blog Object
static Clob toClob(Connection conn, Object value)
          create a clob Object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLUtil

public SQLUtil()
Method Detail

pattern

public static Pattern pattern(String pstr,
                              boolean ignoreCase)

match

public static boolean match(Pattern pattern,
                            String string)

removeLiterals

public static String removeLiterals(String sql)

toBlob

public static Blob toBlob(Connection conn,
                          Object value)
                   throws PageException
create a blog Object

Parameters:
conn -
value -
Returns:
Throws:
PageException

toClob

public static Clob toClob(Connection conn,
                          Object value)
                   throws PageException
create a clob Object

Parameters:
conn -
value -
Returns:
Throws:
PageException

isOracle

public static boolean isOracle(Connection conn)

closeEL

public static void closeEL(Statement stat)


Copyright © 2012 Railo