Results 1 to 1 of 1
Thread: Java - hibernate query with join
- 09-29-2010, 09:02 PM #1Member
- Join Date
- Sep 2010
- Rep Power
Java - hibernate query with join
I have a problem with writing method using HibernateDaoSupport.
I have query that works in database, but I dont know how to write method in Java.
Here's query: "select unique pro_id from osnova_koristenja join poslovni_prostor on osnova_koristenja.pro_id=poslovni_prostor.pos_id where osn_status=1".
This works for my case.
Can someone help me with method that will execute this query?
Thanks in advance,
- By ajt111 in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 10-29-2009, 06:48 PM
- By wonderbiker in forum JDBCReplies: 0Last Post: 04-14-2009, 11:12 AM
- By gpittingale in forum New To JavaReplies: 3Last Post: 02-15-2009, 10:14 AM
- By taicode in forum JDBCReplies: 0Last Post: 03-25-2008, 05:17 PM
- By altaf in forum JDBCReplies: 0Last Post: 03-12-2008, 03:23 PM