-->
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: Entity objects and Query objects
PostPosted: Wed May 21, 2008 4:05 am 
Regular
Regular

Joined: Mon Oct 02, 2006 12:03 pm
Posts: 62
Greetings,

I've developed a project using NHibernate. The project have to manage a little "Stock Control". So, my entities are Article, Place, Movements.

Article: represents a simple common enterprise article.
Place: represents the ubication that contains articles.
Movements: represents the the movements that an article has.

However, I need to make queries about them. The problem is if I want to retrive something as:

Article Place Stock --> So, the stock of each article in each place. So I've thunk in retrieving a list of Stock objects, but Stock class isn't mapped.

How Can I to solve it?
Thanks for all.


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.