org.exolab.castor.jdo
Class Utils

java.lang.Object
  extended by org.exolab.castor.jdo.Utils

Deprecated. Use org.castor.jdo.util.JDOUtils instead.

public final class Utils
extends java.lang.Object

Common static methods for Castor JDO

Version:
$Revision: 1.2 $ $Date: 2005/11/10 10:02:19 $
Author:
Stein M. Hugubakken

Method Summary
static void closeConnection(java.sql.Connection conn)
          Deprecated. Closes the Connection without throwing SQLException.
static void closeResultSet(java.sql.ResultSet rs)
          Deprecated. Closes the ResultSet without throwing SQLException.
static void closeStatement(java.sql.Statement stmt)
          Deprecated. Closes the Statement without throwing SQLException.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

closeConnection

public static void closeConnection(java.sql.Connection conn)
Deprecated. 
Closes the Connection without throwing SQLException. A warning is added to the log if SQLException is thrown.

Parameters:
conn - The Connection to close

closeResultSet

public static void closeResultSet(java.sql.ResultSet rs)
Deprecated. 
Closes the ResultSet without throwing SQLException. A warning is added to the log if SQLException is thrown.

Parameters:
rs - The ResultSet to close

closeStatement

public static void closeStatement(java.sql.Statement stmt)
Deprecated. 
Closes the Statement without throwing SQLException. A warning is added to the log if SQLException is thrown.

Parameters:
stmt - The Statement to close


Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com