How to get single column from database using hibernate?
Answer / Pankaj Balodi
To get a single column from the database using Hibernate, you can use the 'get' method on the returned object or use Hibernate Query Language (HQL) with the 'alias.property' syntax.
| Is This Answer Correct ? | 0 Yes | 0 No |
Does hibernate work without primary key?
What are the mapping associations used in hibernate?
What is difference between steady state and transient state?
What are some advantages of lazy loading?
What is purpose of hibernate?
What is the difference between save() and persist() methods of session object?
How does orm work?
What is the difference between an orm and an odm?
Does hibernate support nosql?
What are the Core interfaces of Hibernate framework?
What is hibernate context?
What is second level caching?