The Enhanced* classes don't really seem to be enhanced versions of their standard counterparts. For example, EnhancedResultSet has this method:
public Long getLongObject(String column) throws SQLException { return new Long(getLong(column)); }
What about:
public Long getLongObject(String column) throws SQLException {
long result = getLong(column);
if (wasNull()) {
return null;
} else {
return new Long(result);
}
}How is that enhanced over the standard rs.getObject(col) which performs automatic type conversions or new Long(rs.getLong(col)) ?
Maybe this method check agains null too?
Regards, Tomek
David
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
