-
Just checking on this... and hoping for the 'right' answer. ;)
We use BLOB fields fairly extensively in our MySQL database, because varchar only goes to 255. So in all our SQL, we just select the column, and the do "getString()" on the ResultSet (and it seems to work). It also seems to 'just work' to use setString() on the PreparedStatements.
So do you mean that BLOBS are...
2004-03-22 23:35:24 UTC in iBATIS Database Layer
-
I have just posted this to another thread here, but thought I'd dupe it here (because it's much more relevant here) ;)
I've known of a couple people experiencing trouble with java.sql.Timestamp.compareTo(Object). This used to be inherited from java.util.Date, but is now being implemented in java.sql.Timestamp as of 1.4. This has caused hard-to-trace errors in at least two apps I know of...
2004-03-22 23:14:31 UTC in iBATIS Database Layer
-
I would think this would throw an Exception, but you never know:
I've known of a couple people experiencing trouble with java.sql.Timestamp.compareTo(Object). This used to be inherited from java.util.Date, but is now being implemented in java.sql.Timestamp as of 1.4. This has caused hard-to-trace errors in at least two apps I know of.
The solution is to run on jdk 1.4, or to recompile...
2004-03-22 23:13:20 UTC in iBATIS Database Layer