public class ConnectionFactoryUtils
extends java.lang.Object
| Constructor and Description |
|---|
ConnectionFactoryUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
releaseConnection(Connection con,
ConnectionFactory cf)
Release the given Connection by closing it.
|
public static void releaseConnection(Connection con, ConnectionFactory cf)
con - The connection.cf - The connection factory.