What is named sql query in hibernate?



What is named sql query in hibernate?..

Answer / Deepak Kumar Rastogi

A named SQL query in Hibernate is similar to a named native query, but it executes plain SQL instead of HQL. It's defined using the @NamedNativeQuery annotation and allows for greater flexibility when interacting with the database directly.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

What is difference between get and load?

1 Answers  


What is hibernate caching?

1 Answers  


What are the fetching strategies supported by hibernate?

1 Answers  


What are the ways to access hibernate by using spring?

1 Answers  


How does hibernate useful in mapping object and its relations?

1 Answers  


Which annotation is used to auto generate primary key?

1 Answers  


What is transient annotation in hibernate?

1 Answers  


What is the usage of Hibernate QBC API?

1 Answers  


What is cascade type?

1 Answers  


How many objects are there in hibernate architecture?

1 Answers  


What do you mean by named – sql query?

1 Answers  


What is many to one mapping in hibernate?

1 Answers  


Categories