Hibernate / Hibernate interview questions II
Explain addScalar method in Hibernate.
addScalar method specifies the result of the query to return objects for individual named columns, rather than entities.
Query myQuery = new SqlQuery("Select name as nm from employee"); myQuery.addScalar("nm", String);
More Related questions...