-->
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: creating a query with NHibernate
PostPosted: Thu Feb 10, 2011 4:13 pm 
Newbie

Joined: Thu Feb 10, 2011 4:07 pm
Posts: 1
hi, I need your help, I have a database, reported very bad, however I have to do a query like this: "Select from cd.descrizione reparticolo ra, coloridescr cd = WHERE cd.colori_id ra.colori_id and cd.mercati_id = 2 and ra.codice = 345475 ";

PS: The two tables are not related, and I have already created the mapping of the two tables, with no report, because of colori_id reparticolo is not the primary key and I can not create it.
Can someone tell me how can we do with NHibernate?

Thanks, I'm really desperate


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.