net.java.ao.sql
Class SqlUtils

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

public final class SqlUtils
extends Object


Field Summary
static Pattern GROUP_BY_CLAUSE
           
static Pattern ON_CLAUSE
           
static Pattern WHERE_CLAUSE
           
 
Method Summary
static void closeQuietly(Connection connection)
          Deprecated. 
static void closeQuietly(ResultSet resultSet)
          Deprecated. 
static void closeQuietly(ResultSet rs, Statement st, Connection c)
          Deprecated. 
static void closeQuietly(Statement statement)
          Deprecated. 
static void closeQuietly(Statement st, Connection c)
          Deprecated. 
static String processGroupByClause(String groupBy, com.google.common.base.Function<String,String> processor)
           
static String processOnClause(String on, com.google.common.base.Function<String,String> processor)
           
static String processWhereClause(String where, com.google.common.base.Function<String,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 Pattern WHERE_CLAUSE

ON_CLAUSE

public static final Pattern ON_CLAUSE

GROUP_BY_CLAUSE

public static final Pattern GROUP_BY_CLAUSE
Method Detail

processWhereClause

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

processOnClause

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

processGroupByClause

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

closeQuietly

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


closeQuietly

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


closeQuietly

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


closeQuietly

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


closeQuietly

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



Copyright © 2007-2014. All Rights Reserved.