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