Dear dudes,
In persisting data in MySQL through hibernate, i'm using a simple
java class , which creates an instance of my form , sets data , reads the configuration file, builds a session factory i.e. hibernate.cfg.xml , opens the session and save data .
Actually data was not inserted into the table eventhough i'm getting the message similar to that.
I created the database in MySQL initially.
message console:
My java application:"Testinghibernate.java"
Information.java
hibernate.cfg.xml:
Information.hbm.xml: