hi,
I am new in hibernate I am creating web base application in which I am creating report using Stored Procedure but whenever I am trying exceute Stored procedure using hibernate I am facing following error
"Caused by: org.xml.sax.SAXParseException: Attribute "callable" must be declared for element type "sql-query"."
my hbm.xml file as follows
Code:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<sql-query name="Test_SP" callable="true">
<return alias="emp" class="Login">
<return-property name="fromName" column="form_name"/>
<return-property name="code" column="code"/>
</return>
{ ? = call Neo_SWD_2009..Test() }
</sql-query>
</hibernate-mapping>
PLease help me ...
Thank You
Prashant