net.java.ao.sql
Class SqlUtils

java.lang.Object
  extended by net.java.ao.sql.SqlUtils

public final class SqlUtils
extends java.lang.Object


Field Summary
static java.util.regex.Pattern GROUP_BY_CLAUSE
           
static java.util.regex.Pattern ON_CLAUSE
           
static java.util.regex.Pattern WHERE_CLAUSE
           
 
Method Summary
static void closeQuietly(java.sql.Connection connection)
          Deprecated. 
static void closeQuietly(java.sql.ResultSet resultSet)
          Deprecated. 
static void closeQuietly(java.sql.ResultSet rs, java.sql.Statement st, java.sql.Connection c)
          Deprecated. 
static void closeQuietly(java.sql.Statement statement)
          Deprecated. 
static void closeQuietly(java.sql.Statement st, java.sql.Connection c)
          Deprecated. 
static java.lang.String processGroupByClause(java.lang.String groupBy, com.google.common.base.Function<java.lang.String,java.lang.String> processor)
           
static java.lang.String processOnClause(java.lang.String on, com.google.common.base.Function<java.lang.String,java.lang.String> processor)
           
static java.lang.String processWhereClause(java.lang.String where, com.google.common.base.Function<java.lang.String,java.lang.String> processor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WHERE_CLAUSE

public static final java.util.regex.Pattern WHERE_CLAUSE

ON_CLAUSE

public static final java.util.regex.Pattern ON_CLAUSE

GROUP_BY_CLAUSE

public static final java.util.regex.Pattern GROUP_BY_CLAUSE
Method Detail

processWhereClause

public static java.lang.String processWhereClause(java.lang.String where,
                                                  com.google.common.base.Function<java.lang.String,java.lang.String> processor)

processOnClause

public static java.lang.String processOnClause(java.lang.String on,
                                               com.google.common.base.Function<java.lang.String,java.lang.String> processor)

processGroupByClause

public static java.lang.String processGroupByClause(java.lang.String groupBy,
                                                    com.google.common.base.Function<java.lang.String,java.lang.String> processor)

closeQuietly

@Deprecated
public static void closeQuietly(java.sql.Connection connection)
Deprecated. 


closeQuietly

@Deprecated
public static void closeQuietly(java.sql.Statement statement)
Deprecated. 


closeQuietly

@Deprecated
public static void closeQuietly(java.sql.ResultSet resultSet)
Deprecated. 


closeQuietly

@Deprecated
public static void closeQuietly(java.sql.Statement st,
                                           java.sql.Connection c)
Deprecated. 


closeQuietly

@Deprecated
public static void closeQuietly(java.sql.ResultSet rs,
                                           java.sql.Statement st,
                                           java.sql.Connection c)
Deprecated. 



Copyright © 2007-2014. All Rights Reserved.