bonjour a tous....
lorsque (sous eclipse) je lance les XDoclets sur mon projet, j'obtient l'erreur suivante :
[schemaexport] (util.XMLHelper 59 ) Error parsing XML: XML InputStream(44) Lélément "{0}" nécessite des éléments additionnels.
voici mes fichier s HBM.XML
-> Fai.hbm.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping
>
<class
name="com.mirane.modele.Fai"
table="FAI"
proxy="com.mirane.modele.Fai"
>
<id
name="id"
column="ID"
type="java.lang.Long"
>
<generator class="native">
<param name="sequence">seq_fai</param>
<!--
To add non XDoclet generator parameters, create a file named
hibernate-generator-params-Fai.xml
containing the additional parameters and place it in your merge dir.
-->
</generator>
</id>
<property
name="nom"
type="java.lang.String"
update="true"
insert="true"
column="NOM"
length="40"
/>
<!--
To add non XDoclet property mappings, create a file named
hibernate-properties-Fai.xml
containing the additional properties and place it in your merge dir.
-->
</class>
</hibernate-mapping>
-> Site.hbm.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping
>
<class
name="com.mirane.modele.Site"
table="SITE"
proxy="com.mirane.modele.Site"
>
<id
name="id"
column="ID"
type="java.lang.Long"
>
<generator class="native">
<param name="sequence">seq_site</param>
<!--
To add non XDoclet generator parameters, create a file named
hibernate-generator-params-Site.xml
containing the additional parameters and place it in your merge dir.
-->
</generator>
</id>
<set
name="fai"
table="FAI"
lazy="true"
inverse="false"
cascade="none"
sort="unsorted"
>
<key
column="FAI_ID"
>
</key>
</set>
<property
name="heureGmt"
type="java.lang.Integer"
update="true"
insert="true"
column="HEUREGMT"
/>
<property
name="horairesOuverture"
type="java.lang.String"
update="true"
insert="true"
column="HORAIRESOUVERTURE"
length="40"
/>
<property
name="identifiantInternet"
type="java.lang.String"
update="true"
insert="true"
column="IDENTIFIANTINTERNET"
length="40"
/>
<property
name="motDePasseInternet"
type="java.lang.String"
update="true"
insert="true"
column="MOTDEPASSEINTERNET"
length="40"
/>
<property
name="nom"
type="java.lang.String"
update="true"
insert="true"
column="NOM"
length="40"
/>
<property
name="plan"
type="java.lang.String"
update="true"
insert="true"
column="PLAN"
length="40"
/>
<set
name="listePlayer"
lazy="true"
inverse="true"
cascade="none"
sort="unsorted"
>
<key
column="PLAYER_ID"
>
</key>
<one-to-many
class="com.mirane.modele.Player"
/>
</set>
<property
name="texteLibre"
type="java.lang.String"
update="true"
insert="true"
column="TEXTELIBRE"
length="40"
/>
<!--
To add non XDoclet property mappings, create a file named
hibernate-properties-Site.xml
containing the additional properties and place it in your merge dir.
-->
</class>
</hibernate-mapping>
je ne trouve pas d'ou cela vient... quelqu'un peut m'aider ?? merci ...
_________________ Give me just one last crawl before i can't move at all...
|