Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Object Relational Mapping
How to get data from 2 column of table through select
posted 8 years ago
I have to get data from two column of table. My table name is Employee_Det the fields in the table are ID,Name,Age,Deg. the query i am using to fetch ID and Name are as followes
Query qr = session.createSQLquery("select e.id,e.name from Employee_det as e").addEntity("e",empl.class)
but this query gives an error. I have to do this by using addEntity() method
Don't get me started about those stupid
Please HELP with Hibernate Mapping!
Hibernate: Problem with subset query
how to get data from alias
Hibernate native sql problem
mapping one pojo with multiple tables