Code tag is added. Could you please look into this. Sorry for inconvenience.
I am trying to run the sample hibernate application from www.roseindia.com, but the session.save(object) does not insert the object in the oracle DB.Am not getting any errors or exceptions here is a snippet of the code :
Example given in roseindia:
Please help me out to run this application.
JDBC driver version is 10.2.0.1.0
Please UseCodeTags when posting code or configuration. Unformatted code and configuration is very difficult to read. You can edit your post to include them by using the button.
Joined: Oct 10, 2009
Sample hibernate example in roseIndia is running with out any errors but not saving into the database. Its because they are not starting the transaction. Transacton object you have to get it from session. Once you persist the object, please commit the transaction. That will solve the problem. See the modified code below.
Thanks for all who has looked into this issue.
Dhanunjay Reddy V
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Problem in Running Hibernate Sample application