Hibernate version: 2.1.8
xDoclet version: 1.2.3
Hi, we have been using Hibernate for a long time and today we've encountered a new issue.
We have a table with no key columns, and because Hibernate does require at least one we tried to use the most obvious for us and that was a DATE column.
When generating hbm.xml files for my Hibernate "beans", I'm getting
Quote:
SEVERE: Invoking method failed: xdoclet.modules.hibernate.HibernateTagsHandler.ifHasCompositeId, line=169 of template file: jar:file:/..../lib/xdoclet-hibernate-module-1.2.3.jar!/xdoclet/modules/hibernate/resources/hibernate.xdt
.
After looking at source code on xDoclet classes we saw that Timestamp fields were not allowed as single PK.
Our question is: can a Timestamp object be an Hibernate
id property?
We've tried a composite bean with two timestamp columns and all works fine :S
Thanks in advance,
Sérgio