org.apache.jackrabbit.core.data.db
Class DatabaseHelper

java.lang.Object
  extended by org.apache.jackrabbit.core.data.db.DatabaseHelper

public class DatabaseHelper
extends Object

Helper methods for database operations.


Constructor Summary
DatabaseHelper()
           
 
Method Summary
static void closeSilently(Connection con)
          Silently closes a connection.
static void closeSilently(ResultSet rs)
          Silently closes a result set.
static void closeSilently(Statement stmt)
          Silently closes a statement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseHelper

public DatabaseHelper()
Method Detail

closeSilently

public static void closeSilently(Connection con)
Silently closes a connection.


closeSilently

public static void closeSilently(ResultSet rs)
Silently closes a result set.


closeSilently

public static void closeSilently(Statement stmt)
Silently closes a statement.



Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.