[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: n:m relation-table is not used

2005-07-21 Thread Smilidon
one more try:

if i change the ralation-table to:

relation-table-mapping
table-namereport_role_map/table-name
  create-tabletrue/create-table
  remove-tabletrue/remove-table
  /relation-table-mapping

the table is removed while undeploying, but not created while deploying??!! i'm 
confused...

please help :(


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3885878#3885878

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885878


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: n:m relation-table is not used

2005-07-20 Thread Smilidon
this topic is similar but dont solve my problem:
http://www.jbossgroup.com/index.html?module=bbop=viewtopict=50729

some more code:

roles in my ejb-jar.xml

  | relationships 
  |   ejb-relation 
  |  ejb-relation-nameReport-Role/ejb-relation-name
  | 
  |  ejb-relationship-role 
  | 
ejb-relationship-role-nameReport-has-Roles/ejb-relationship-role-name
  | multiplicityMany/multiplicity
  | relationship-role-source 
  |ejb-nameReport/ejb-name
  | /relationship-role-source
  | cmr-field 
  |cmr-field-nameroles/cmr-field-name
  |cmr-field-typejava.util.Collection/cmr-field-type
  | /cmr-field
  |  /ejb-relationship-role
  | 
  |  ejb-relationship-role 
  | 
ejb-relationship-role-nameRole-has-Reports/ejb-relationship-role-name
  | multiplicityMany/multiplicity
  | relationship-role-source 
  |ejb-nameRole/ejb-name
  | /relationship-role-source
  | cmr-field 
  |cmr-field-namereport/cmr-field-name
  |cmr-field-typejava.util.Collection/cmr-field-type
  | /cmr-field
  |  /ejb-relationship-role
  | 
  |   /ejb-relation
  | !-- 
  |   To add relationships for beans not managed by XDoclet, add
  |   a file to your XDoclet merge directory called relationships.xml 
that contains
  |   the ejb-relation/ejb-relation markups for those beans.
  | -- 
  |/relationships
  | 

jboss.xml


  |   entity
  |  ejb-nameReport/ejb-name
  |  jndi-nameejb/ReportHome/jndi-name
  |  local-jndi-nameejb/ReportLocalHome/local-jndi-name
  | 
  | method-attributes
  | /method-attributes
  | 
  |   /entity
  |   entity
  |  ejb-nameRole/ejb-name
  |  jndi-nameejb/RoleHome/jndi-name
  |  local-jndi-nameejb/RoleLocalHome/local-jndi-name
  | 
  | method-attributes
  | /method-attributes
  | 
  |   /entity
  | 

please give me a hint...

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3885648#3885648

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885648


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user