com.opencms.util
Class SqlHelper
java.lang.Object
|
+--com.opencms.util.SqlHelper
- public class SqlHelper
- extends Object
This is a helper class for sql queries.
- Version:
- $Revision: 1.15 $ $Date: 2003/01/20 23:59:20 $
- Author:
- Andreas Schouten
|
Method Summary |
static Timestamp |
getTimestamp(ResultSet result,
String column)
This method tries to get the timestamp several times, because there
is a timing-problem in the actual mysql-driver. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlHelper
public SqlHelper()
getTimestamp
public static final Timestamp getTimestamp(ResultSet result,
String column)
throws SQLException
- This method tries to get the timestamp several times, because there
is a timing-problem in the actual mysql-driver.
- Parameters:
result - The resultset to get the stamp from.column - The column to read the timestamp from.
- Returns:
- the Timestamp.
- Throws:
Throws - Exception, if something goes wrong.
SQLException