[b]Hibernate version:2.1.3
[b]Mapping documents:-
[b]Code between sessionFactory.openSession() and session.close():
Mygroup g= new Mygroup();
g.setGroupid("GRTR1");
g.setGroupdescription("Trainee");
HibernateSessionFactory.currentSession().saveOrUpdate(g);
HibernateSessionFactory.closeSession();
[b]Full stack trace of any exception that occurs:warring is shown as follow
(util.JDBCExceptionReporter 34 ) SQL Warning: 5701, SQLState: 01000
(util.JDBCExceptionReporter 35 ) [Microsoft][ODBC SQL Server Driver][SQL Server]Changed database context to 'rs'.
(util.JDBCExceptionReporter 34 ) SQL Warning: 5703, SQLState: 01000
(util.JDBCExceptionReporter 35 ) [Microsoft][ODBC SQL Server Driver][SQL Server]Changed language setting to us_english.
[b]Name and version of the database you are using:sqlServer
The problem is the object is not get persist in to the Database
|