Joined: Sun Apr 29, 2007 12:10 pm Posts: 6 Location: vijayawada
|
hi,
I need help regarding hibernate
while I 'm going thr' console application using hibernate-3.2 I'm getting
org.hibernate.InvalidMappingException :Could not parse mapping document from resource player.hbm.xml
<?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>
<class name="player"
table="playertable">
<id name="id" type="int" column="ID"
unsaved-value="0">
<generator class="increment"/>
</id>
<property name="name" type="string">
<column name="name"/>
</property>
<property name="place" type="string">
<column name="place"/>
</property>
</class>
</hibernate-mapping>
It's urgent.
|
|