This works for me, so I would guess that your configuration is wrong.

-dain

Arthur Wang wrote:

> I set create-table as true in my jbosscmp-jdbc.xml, so the jboss will create
> table for me, but the name of relation table created is like 'A-Bs-B-As", it
> is not the name I specified in relation-table-mapping of jbosscmp-jdbc.xml.
> 
> -----Original Message-----
> From: Dain Sundstrom [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 07, 2002 4:27 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Auto created relationship table name.
> 
> 
> Arthur Wang wrote:
> 
> 
>>Hi ,
>>
>>I have a many to many relationship betwen two beans, and I specify the
>>relation table in the ejb-jar.xml file, but when set the create-table as
>>true in jbosscmp-jdbc.xml, the created relation table has a different name
>>as the one I specified in the relationship defination, this should not be
>>
> a
> 
>>problem if I use existing table, but in this case(create table when
>>
> deploy),
> 
>>many to many relationship may not working. Any idea on it?
>>
> 
> 
> I don't understand you.  Can you be more specific?
> 
> -dain
> 
> 
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -
> http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas - 
>http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to