-->
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: Table subclass + view field with view field
PostPosted: Thu Jan 31, 2008 8:15 am 
Newbie

Joined: Thu Jan 31, 2008 8:01 am
Posts: 1
Hi all,
this is my first post so please be kind if I'm not clear.

Here is my problem

I have two tables:

1) Journey
2) Orders

That I have mapped correctly.

Question 1:

I want to map Journey subclass (call this subJour) with only a subset of Journey fields

how to do this???(and before saying it's really easy read the following question)

Question 2

I have a query on Orders (call this ordOfJour) that gives me back some orders.
this query uses where clause and group by

is it possible to have results of this query as objects with a mapping class that takes query parameters to initialize?

Question 2.b

if the above one is possible,
how I map this to make possible calls such as subJour.getOrdOfJour() ???

it's a bit complex but I think someone out there has the solution or can put me on the right way

thanx in advance,
Sasà


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.