it is know that when Hibernate is creating its SessionFactory it generates all the insert, update, and delete statements for all the mapped classes, and makes them prepared statements, so that later when we save and update, the statements are already there and Hibernate can be a little bit faster.
But with dynamic-insert and dynamic-update these CRUD statement is created when we save, and will only include the fields that is changed.
My question is that can we see what statement Hibernate generate while creating SessionFactory or at startup of the application ? If yes then how can we see those statements ?
|