Had to add autocommit property to get this code insert a row in the database. A commit is required.
But thanks, I learned Hibernate can be used stand alone without an application server :-)
i have followed the steps and able to create tables in mysql and also the message is displayed in console that record is inserted. But, I am unable to see those record in the table in the database. Could you let me know where the mistake.
FirstHibernateExample is succesfully running with no exceptions or errors but i dont see any impact on my db table. i have even set autocommit property as true.
Had to add autocommit property to get this code insert a row in the database. A commit is required.
But thanks, I learned Hibernate can be used stand alone without an application server :-)
Hibernate - not updated in tableaabideen May 29, 2011 at 11:00 AM
I've executed "first hibernate" example. This program executed without any error. but values not inserted into table. --> please share your knowledge
commit missingWouter Meijer June 25, 2011 at 5:01 PM
Had to add autocommit property to get this code insert a row in the database. A commit is required. But thanks, I learned Hibernate can be used stand alone without an application server :-)
first hibernate examplesridhar December 27, 2011 at 3:15 PM
i have followed the steps and able to create tables in mysql and also the message is displayed in console that record is inserted. But, I am unable to see those record in the table in the database. Could you let me know where the mistake.
Given example not affecting databaseaun asghar December 30, 2011 at 12:13 PM
FirstHibernateExample is succesfully running with no exceptions or errors but i dont see any impact on my db table. i have even set autocommit property as true.
thant'sabdou December 9, 2012 at 11:45 PM
thank you very much for this tutorial...
Not updated in tableWouter Meijer June 25, 2011 at 5:04 PM
Had to add autocommit property to get this code insert a row in the database. A commit is required. But thanks, I learned Hibernate can be used stand alone without an application server :-)
Post your Comment