|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object swpatho.ap1.editor.statistik.SqlLib
Constructor Summary | |
SqlLib()
|
Method Summary | |
static boolean |
execute(java.lang.String q,
java.sql.Connection conn)
execute, performs a no-return-operation in mysql |
static java.sql.Connection |
loadDriver()
loadDriver, creates connection to mySQL database and returns it. --> Using connection parameters MYSQL_ADDRESS MYSQL_PASSWD, MYSQL_USERNAME |
static java.sql.ResultSet |
query(java.lang.String q,
java.sql.Connection conn)
query, performs a query q on connection conn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SqlLib()
Method Detail |
public static java.sql.ResultSet query(java.lang.String q, java.sql.Connection conn)
q
- Stringconn
- Connection
public static java.sql.Connection loadDriver()
public static boolean execute(java.lang.String q, java.sql.Connection conn)
q
- Stringconn
- Connection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |