Hi All,
I am new to Hibernate and was practicing a simple example to save() and load() the data.
I have set <property name = "show_sql">true</property>, to see the queries generated by Hibernate.
When saving the data using session.save() I can see the insert queries, but I cannot see any queries when executing the session.load(). For session.load() I can see the select queries only when I try to actually print the data using SOP.
I have created my class using main for
testing the load():