-->
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.  [ 4 posts ] 
Author Message
 Post subject: Changes between 3.2.4.CR2 and 3.2.4.GA
PostPosted: Tue Jun 16, 2009 12:17 pm 
Newbie

Joined: Thu May 20, 2004 4:51 am
Posts: 4
I recently upgraded from CR2 to GA, and now have two problems:

1 - Many-to-many mappings don't work (generated as 3 classes & @OneToMany instead of 2 classes as @ManyToMany)
2 - Cascade information is no longer set on n-to-n relationships (previously set Cascade=CascadeType.ALL)

I'm guessing something changed between the two releases and I have to set some flags in my reveng.xml file differently, but I'm at wit's end. I am using a custom reverse engineering strategy to rename a couple of columns, but not changing any foreign key information.

Does anyone have any idea on how to get these two features working again?

Thanks,
Dan


Top
 Profile  
 
 Post subject: Re: Changes between 3.2.4.CR2 and 3.2.4.GA
PostPosted: Tue Jun 16, 2009 5:43 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
nothing changed in this area between CR and GA afaik.

Could you show the database schema and generate mappings that fail for you ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Re: Changes between 3.2.4.CR2 and 3.2.4.GA
PostPosted: Wed Jun 17, 2009 8:57 am 
Newbie

Joined: Thu May 20, 2004 4:51 am
Posts: 4
If I get some time, I'll try to recreate the problem using a smaller schema. In the meantime, I'll continue with CR2.

Could the problem relate to using an environment set up using CR2 (i.e., the DB connection, console configuration, and code generation configuration), but using the GA jars? Everything worked as expected with CR2, then I shut down eclipse, removed all the plugins, installed GA, and it stopped working. Reversing the process fixed it. Is there anything I missed?

Thanks!


Top
 Profile  
 
 Post subject: Re: Changes between 3.2.4.CR2 and 3.2.4.GA
PostPosted: Mon Jun 29, 2009 9:56 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
hmm...there shouldn't be any diff here.

What do you mean by "reversing the process" ? you mean setup the whole thing again or ?

_________________
Max
Don't forget to rate


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

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.