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 ORDER_CLAUSE
           
static Pattern WHERE_CLAUSE
           
 
Method Summary
static void closeQuietly(Connection connection)
           
static void closeQuietly(ResultSet resultSet)
           
static void closeQuietly(Statement statement)
           
static String processWhereClause(String where, com.google.common.base.Function<String,String> fieldNameProcessor)
           
 
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

ORDER_CLAUSE

public static final Pattern ORDER_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> fieldNameProcessor)

closeQuietly

public static void closeQuietly(Connection connection)

closeQuietly

public static void closeQuietly(Statement statement)

closeQuietly

public static void closeQuietly(ResultSet resultSet)


Copyright © 2007-2011. All Rights Reserved.