-->
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.  [ 3 posts ] 
Author Message
 Post subject: Problem with middlegen plugin R5 upgrade
PostPosted: Tue Aug 24, 2004 12:11 pm 
Beginner
Beginner

Joined: Thu Jan 29, 2004 6:51 pm
Posts: 24
Location: Boulder, CO USA
i just upgraded to R5 and things appear fine except for one thing.

I have properties in an entity that are foreign keys to tables i am not generating entities for. Previously (in R4), these properties were evaluated as Strings (as I wanted them to be). Now however, these properties are not generated at all. I suppose this is due to the inactive relationship improvements. Is there a way for me to have R5 generate these properties again as strings rather than ignoring them? The tables they point to are just readonly lookup tables containing strings, and I'd rather not have entities for them.

Jason


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 24, 2004 1:49 pm 
Beginner
Beginner

Joined: Thu Jan 29, 2004 6:51 pm
Posts: 24
Location: Boulder, CO USA
Fixed. I needed to add table tags for the lookup tables to the middlegen task, and then set generate="false" for each table I didn't want entities for. Strange that I didn't need to do that before R5.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 28, 2004 6:42 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Its much more picky when relationships are involved.
Glad you found a solution.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.