public class DBConnection
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_DATE_FORMAT
Deprecated.
|
| Constructor and Description |
|---|
DBConnection()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
closeQuietly(java.sql.Connection connection)
Deprecated.
|
static void |
closeQuietly(java.sql.ResultSet resultSet)
Deprecated.
|
static void |
closeQuietly(java.sql.Statement statement)
Deprecated.
|
java.sql.Connection |
createConnection()
Deprecated.
Creates a DB Connection
|
public static final java.lang.String DEFAULT_DATE_FORMAT
public java.sql.Connection createConnection()
throws java.sql.SQLException,
java.lang.ClassNotFoundException,
javax.naming.NamingException
java.sql.SQLExceptionjava.lang.ClassNotFoundExceptionjavax.naming.NamingExceptionpublic static void closeQuietly(java.sql.Connection connection)
public static void closeQuietly(java.sql.Statement statement)
public static void closeQuietly(java.sql.ResultSet resultSet)