-->
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: subclass -> join -> set -> erreur !!!
PostPosted: Wed Jun 25, 2008 12:16 pm 
Newbie

Joined: Tue Jun 24, 2008 6:42 am
Posts: 19
hello everybody, my <join... that i have make in red cause me a problem, it say : The content of element type "join" must match "(subselect?,comment?,key,(property|many-to-one|
component|dynamic-component|any)*,sql-insert?,sql-update?,sql-delete?)".

have you got a idea ?? thank you very much bye!

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">
<!-- Generated 24 juin 2008 18:25:54 by Hibernate Tools 3.2.1.GA -->
<hibernate-mapping>
    <class name="test.Node" table="node" catalog="nod">
        <id name="idFils" type="string">
            <column name="id_fils" length="10" />
        </id>
               
        <discriminator column="type" type="string"/>
   
        <property name="idPere" type="string">
            <column name="id_pere" length="10" not-null="true" />
        </property>
       
     
       <subclass name="test.Root" discriminator-value="Root">

<join table="root">
<set name="Fils">
<key column="id_pere"/>
<one-to-many class="test.Node"/>
</set>
</join>
Code:
       </subclass>
       
    </class>
</hibernate-mapping>


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.