-->
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: probleme avec liste bag
PostPosted: Thu Jun 11, 2009 10:34 am 
Newbie

Joined: Thu Jun 11, 2009 9:54 am
Posts: 1
Bonjour
j'ai un problème au niveau de mon mapping hibernate j'utilise Weblogic8.1 et EJB 2

j'ai une classe FicheProd qui contient un objet terminal et dans le terminal j'ai une liste d'objet OBJ.
voila avant que j'ajoute la liste tout marchait bien. Mais des que j'ai ajouté cette liste je n'arrive plus à faire marcher mes EJB :(

dans le mapping de ma classe FicheProd j'appel le composant Terminal

<component name="term" class="com.bla.Terminal">


<property name="prop1" type="java.lang.String" column="CC" length="10">
<meta attribute="field-description">propriete 1</meta>
</property>

<!-- liste des OBJ que j'ai ajouté -->
<bag name="objs" lazy="false" cascade="all-delete-orphan">
<key column="IDFICPRD" />
<one-to-many class="com.bla.Obj" />
</bag>

</component>


Toute aide sera la bienvenue.


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.