adspace
Answer Posted / Pratibha Yadav
In Hibernate, a Named SQL Query is a precompiled SQL statement that can be reused multiple times within the Session scope. It is defined using the @NamedNativeQuery or @NamedQuery annotation in entity classes, and they can be executed using Query API. These queries are useful when you need to execute non-HQL specific SQL statements.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers