Arpit Todi

Greenhorn
+ Follow
since Nov 03, 2004
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 Arpit Todi

Is it possible to retrieve return value from stored procedure call
called within CUD operations.
eg.
<sql-insert callable="true">{? = call wp_Insert (?)}</sql-insert>

I am calling <sql-insert> using (In spring),

HibernateTemplate.save(usr);
or
session.save(usr);

Here,"wp_Insert" is a stored procedure call and returning value.How to
retrieve that return value?
Is there any other way to have call that custom sql query <sql-insert>.
I am getting same problem while using Hibernate from Spring Framework.
I have Position to Employee as one to many relationship.It is giving me same exception when i try to insert positions from Employee objects.I had tried all option like cascade="save-update" and cascade="all".
Can somebody help me!!

Thanks,
Arpit