Hi all,

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,