Hibernate / Hibernate interview questions II
What are Scalar queries in Hibernate?
SQL queries that gets a list of scalars (values) is referred as scalar queries.
sess.createSQLQuery("SELECT * FROM Emp").list();
These will return a List of Object arrays (Object[]) with scalar values for each column in the Emp table.
More Related questions...