-->
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 apply inner join using hibernate criteria
PostPosted: Mon Mar 30, 2015 6:42 am 
Newbie

Joined: Mon Mar 30, 2015 6:34 am
Posts: 1
heyy..help me
There is following code written in SQL query but i want to write in hibernate criteria..
and also tell me how to join 3 table using inner join in hibernate criteria.

select
SC.IMEI,CalledNumber,Charge
,MSISDN
,Customername
from satellite.cdrbean AS SC Inner Join
satellite.Isubean AS SI ON Sc.IMEI = SI.IMEI Inner Join
Satellite.Customerbean AS SCU ON SI.CustomerID = SCU.CustomerID
where sc.IMEI = '3000340133110908'

In that,

I have 3 tables CDRbean,ISUbean and Customerbean..in that i want data with the condition of IMEI number...
please help me


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.