Hej community,
we're using Hibernate 2.1.4 in one of our customer-projects in
conjunction with XDoclet 1.2, which really works great.
We are implementing some kind of audit-trailing, where each
class has an 1-n relationship to the audit-class.
The audit-class has an any-mapping to its parent-class and
when generating the schema with ant, it builds constraints on
the parent-foreign-key for each of these classes, which makes
it impossible to store audits.
My workaround just drops these constraints after we shot the
schema into our Oracle 9.2.1 database, but I wonder if there's
a more elegant solution?
Thanks in advance and congratiulations on EJB3 :-)
*Lutz*
|