|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteschool.util.ConnectionHelper
Constructor Summary | |
ConnectionHelper()
|
Method Summary | |
static void |
closeConnection(java.sql.ResultSet rs,
java.sql.Statement stmt,
java.sql.Connection conn)
Closes a ResultSet, Statement and Connection |
static java.sql.Connection |
getConnection()
|
static int |
getNewCourseID()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConnectionHelper()
Method Detail |
public static java.sql.Connection getConnection()
public static int getNewCourseID()
public static void closeConnection(java.sql.ResultSet rs, java.sql.Statement stmt, java.sql.Connection conn)
rs
- ResultSet that have to be closedstmt
- Statement that have to be closedconn
- Connection that have to be closed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |