-->
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: What is the Best Practice For records from multipe table?
PostPosted: Sun Jun 29, 2014 12:45 am 
Newbie

Joined: Sun Jun 29, 2014 12:15 am
Posts: 1
Hi All,

Today is my first day and this is my first post.

I am a new in Hibernate but i have already created POJO using JPA and i am able to insert,delete,get records.

Just i want to know what is best way for below mentioned query.

select q.quoteno,p.pono,v.vendor_name
from quote_det q,po_det p, vendor_det v
where q.quoteno=p.quoteno
and p.vendor_id=v.vendor_id

I have create 3 POJO for three tables

Is i have to create separate POJO or i can use existing PO

Please let me know how i can handle above query best way in terms of performance


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.