I want to use below code and want to get datas from both tables, but how? There aren't any association in my hibernate mapping files.
SQLQuery query = session.createSQLQuery("SELECT cat.* from ...