On Wed, 9 Jun 2004, David Zejda wrote: > So, is there any flaw in combination HSQLDB and Date? I guess, it would be > possible to provide a custom RowReader or something and store dates in e.g. > VARCHAR column.., but it's only a quick hack, not a solution.
Nope, the problem lies in the combination java.util.Date (which I assume you're using) and JDBC (which for most drivers can only work with java.sql.Date and java.sql.Timestamp). The solution that Fred McCann pointed out is the preferred one with OJB (or use java.sql.Date/java.sql.Timestamp in your classes). I updated the XDoclet module documentation to point that out. Perhaps I should also add a warning when the module processes such a type to make this easier ?! Tom --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
