Hi,
Below is my mapping details in hbm file.
<class name="com.test.UserData" table="user_data" schema="xyz01">
<id name="userName" type="java.lang.String" unsaved-value="null">
<column name="USERNAME" precision="15" scale="0" />
</id>
<property name="password" type="java.lang.String" column="password"/>
<sql-insert callable="true">{call SAVE_DATA_PRC(?,?)}</sql-insert>
</class>
I am able to invoke the porcedure with the below statement hibernateSession.save(object).
How ever the object attribute and procedure arguments were not mapped exactly, the order was changed.
Do you have any idea, how to invoke the procedure with passing the
java obje cts. How should do the mapping between object attributes and procedure arguments...? Please help me to fix the issue.
Thanks
Mani