-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: any-type mapping under xdoclet generates bad constraints
PostPosted: Thu Jun 24, 2004 4:50 pm 
Newbie

Joined: Sun Feb 08, 2004 9:30 am
Posts: 8
Location: Europe
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*


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.