DhanunjayReddy Valluru

Greenhorn
+ Follow
since Oct 10, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by DhanunjayReddy Valluru

Hi All,

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.

--Regards
Dhanunjay Reddy V
14 years ago
Hi All,

Can any send me example on stored procedured(Its for insert and update) using spring JdbcTemplate.

--Regards
Dhanunjay
14 years ago
Code tag is added. Could you please look into this. Sorry for inconvenience.

HI experts,

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:
=================




hibernate.cfg.xml:
===========




contact.hbm.xml:
--------------------


Please help me out to run this application.
Database: oracle10g
JDBC driver version is 10.2.0.1.0


--Regards
Dhanunjay Reddy V

14 years ago