What is the use of show_sql in hibernate?



What is the use of show_sql in hibernate?..

Answer / Pooja Pandey

The 'show_sql' option in Hibernate configuration prints out the SQL queries generated by Hibernate. This can be useful for debugging and understanding how Hibernate maps Java objects to SQL.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

How to set parameter in query hibernate?

1 Answers  


What is hibernate entity?

1 Answers  


Difference between session and sessionfactory in hibernate?

1 Answers  


What does sessionfactory do in hibernate?

1 Answers  


Why is sessionfactory used in hibernate?

1 Answers  


What is Light Object Mapping?

1 Answers  


List some of the database support by hibernate?

1 Answers  


Why hibernate sessionfactory is thread safe?

1 Answers  


What is the difference between session and entitymanager?

1 Answers  


How to use limit in hibernate query?

1 Answers  


What are the cascade types in hibernate?

1 Answers  


What is the difference between session and sessionfactory in hibernate?

1 Answers  


Categories