posted 17 years ago
Hi all,
I am using Hibernate 3.1 with SQL Server 2005,the problem i am facing is this.I have written a SQL-Query within my hbm file for returning a specified Object, that query is a complicated sub-query involving 3 tables.
first of all i am new to Hiberbate so i dont know how to convert the same query into HQL.
My SQL query is as below:-
The hbm files are as given below:-
Account.hbm
can anyone help me out why my query is not returning Mailbox object(s)and how to write the query in HQL format ?
thanks in advance
saikiran