1. hibernate from view stackoverflow.comI'm trying to create a hibernate mapping from a view of multiple tables viewname: calls I'm using Java annotations in Netbeans when I auto generate the POJ from the database i get2 classes one is ... |
2. Help with Creating Models for Views stackoverflow.comI am trying to create a Model to pass to a gsp view. I would like to do a sub query across two tables. I have two domains, alum_profile ... |
3. Views with HQL forum.hibernate.orgHello, I am working on a hibernate system, and I am trying to generate some views of the data to display to the user (some what like reports). Now being a newby I have some problems in knowing what is the best aproach to generate a view of the data I have in the database. When I say view I mean ... |
4. how to use inline view in HQL forum.hibernate.orgHi, This is my java code strQuery = "select supp.supplierId,supp.supplName,b.primarySupplierId from com.ge.comfin.fleet.suppliertrac.bean.SupplierMast supp , (select select primarySupplierId from com.ge.comfin.fleet.suppliertrac.bean.IncntvMast where incntvCurStatusId = 1) b where supp.supplName like 'BILL GRANT FORD%' and supp.supplierId = b.primarySupplierId(+)"; Session session = getHibernateTemplate().getSessionFactory().openSession(); Query query = session.createQuery(strQuery); ArrayList arrTemp = (ArrayList) query.list(); session.close(); when i execute the above code i am getting an error like this ... |