-->
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.  [ 5 posts ] 
Author Message
 Post subject: SQL and domposite-id
PostPosted: Thu Dec 23, 2004 5:58 pm 
Newbie

Joined: Mon Dec 13, 2004 12:37 pm
Posts: 18
Hibernate version:
2.7

Name and version of the database you are using:
DB2

Using the hibernate native sql support I cant seem to get the composite-id fields for my class to work.

i.e.

select
p.first_name as {person.comp_id.firstName},
p.last_name as {person.comp_id.lastName},
...
from
person_table p

won't work.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 03, 2005 12:17 pm 
Newbie

Joined: Mon Dec 13, 2004 12:37 pm
Posts: 18
Just wanted to post to this to see if anyone had looked at this and had any insight into this question? Thanks ...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 03, 2005 12:39 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Post this to JIRA (and even better give some patch ;-) ) I'm not sure we handle it.

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 03, 2005 1:08 pm 
Newbie

Joined: Mon Dec 13, 2004 12:37 pm
Posts: 18
Cool. Tell me where JIRA is and Ill post it there. And I'll happily look at the source to come up with a patch if someone can point me in the general direction of what source modules in which this processing is handled.

Thanks,
Thomas


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 03, 2005 1:30 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
http://hibernate.org/217.html
Actually, I've not been involved in this code area, but it's probably related to SQLLoader etc

_________________
Emmanuel


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