-->
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: When does Middlegen choose "long" or "Long&qu
PostPosted: Wed Feb 11, 2004 12:16 pm 
Pro
Pro

Joined: Wed Oct 08, 2003 10:31 am
Posts: 247
When I have a table with a PK of type INT8 with only one column, in the resulting VO generated with Middlegen we get a "Long". This is case of B (PK: y).

But when I have a table with a PK with two INT8 columns (composite) and one of them points to an other table, the one that doesn't point to anywhere is type "long" in the generated VO. I'm referring to "x" in the example.

Example:

Code:
A (PK: x, y)
          |
          |
          |----> B (PK: y)


Can someone please tell me why this behavior?


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.