public class Database
extends java.lang.Object
| Constructor and Description |
|---|
Database() |
| Modifier and Type | Method and Description |
|---|---|
static java.sql.ResultSet |
executeQuery(java.lang.String sql) |
static java.sql.ResultSet |
executeQuery(java.lang.String sql,
boolean debug) |
static int |
executeUpdate(java.lang.String sql) |
static int |
executeUpdate(java.lang.String sql,
boolean debug) |
static java.sql.Connection |
getConnection() |
static java.sql.PreparedStatement |
prepareStatement(java.lang.String sql) |
static java.sql.PreparedStatement |
prepareStatement(java.lang.String sql,
boolean debug) |
public static java.sql.Connection getConnection()
throws java.sql.SQLException
java.sql.SQLExceptionpublic static java.sql.ResultSet executeQuery(java.lang.String sql,
boolean debug)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static java.sql.PreparedStatement prepareStatement(java.lang.String sql)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static java.sql.PreparedStatement prepareStatement(java.lang.String sql,
boolean debug)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static java.sql.ResultSet executeQuery(java.lang.String sql)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static int executeUpdate(java.lang.String sql,
boolean debug)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static int executeUpdate(java.lang.String sql)
throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.