-->
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: HSQL (select new Class1(...) ... question
PostPosted: Tue Jul 13, 2004 10:47 am 
Newbie

Joined: Mon Jul 12, 2004 6:13 am
Posts: 7
Is there any way to do following
get and fetch object with it's related collections by one jdbc call
using syntax like this


SELECT new Class1(c.prop1,c.prop2,c.collect1) from Class1 c


where c.collect1 some collection (List?,Set? or ...)
How Class1 constructor must looks like?
What type of collections supperted?

HSQL expression may be quite different, but the main idea to
get object with related collections using (select new ...(...)) syntax


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.