|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectpt.moredata.util.DBUtil
Useful routines form accessing a database
| Constructor Summary | |
DBUtil()
Not to be used - all methods are static |
|
| Method Summary | |
static java.lang.String |
Query2Str(java.lang.String SQLcmd,
java.sql.Connection conn)
Returns a String with the value obtained by executing the SQL statement Warning: use carefully, since for each invocation a ResultSet is created and executed against the database |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DBUtil()
| Method Detail |
public static java.lang.String Query2Str(java.lang.String SQLcmd,
java.sql.Connection conn)
throws java.sql.SQLException
SQLcmd - The SQL command in string formconn - The connection to the database
java.sql.SQLException - Yes it does!
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||