-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: InvalidMappingException: Could not parse mapping... help???
PostPosted: Mon Jan 22, 2007 12:53 am 
Newbie

Joined: Fri Jan 19, 2007 2:23 am
Posts: 2
Hi,

I am trying to call a stored proc in my Sybase database.
I am getting following exception :-

org.hibernate.InvalidMappingException: Could not parse mapping document from resource com/.... /Desk.hbm.xml


Here is my mapping file :-

<?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 package="com.pongrass.gwt.ned.server.persistence.model" default-access="field">

<class name="com.pongrass.gwt.ned.server.persistence.model.Desk">

<id name="fullpath">
<generator class="native"/>
</id>


<property name="sat" column="satellite"/>
<loader query-ref="loadDesk"/>

</class>

<sql-query name="loadDesk" callable="true">

<return alias="u" class="Desk">

</return>
{ ar_get_path_list(:platform) }
</sql-query>



</hibernate-mapping>


Can someone tell me correct syntax(for mapping) for doing this.

Thanks in advance!!!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.