Will Hibernate automatically write the state of an object into a byte-stream i.e. serialization and save it to database?
I want to know how Hibernate saves a entity to database. Please correct me if I have anything wrong.
Will Hibernate automatically write the state of an object into a byte-stream i.e. serialization and save it to database?
I want to know how Hibernate saves a entity to database. Please correct me if I have anything wrong.
Hibernate use jdbc and sql. As user of hibernate i suggested to understand SQL (especially subjects: select,join`s, index, query planning (how to see and interpret query plan)(last is more advanced))
You can see actual sql for some profile when develop your application using for example https://p6spy.readthedocs.io/en/latest/configandusage.html