-->
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: how to map class to the dual source?
PostPosted: Fri Nov 21, 2008 6:06 pm 
Beginner
Beginner

Joined: Mon Mar 17, 2008 2:50 pm
Posts: 24
I am doing a project that include generating invoices for subscription service.
I have the INVOICES table where these invoices are stored and I mapped my Invoice class to it. I have no problems there but my applications is also suppose to new customers, who weren't yet been invoiced.
I have a complex almost a page long SQL query that joins seven tables and retrieves all invoice fields for these new customers. I can easily do it in plain old JDBC but cannot figure out how to incorporate this query into my hibernate-mapping.
Please gimme a tip.
Thanks


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.