Re: [JBoss-dev] CMP sql generation error...

2002-06-25 Thread Dain Sundstrom
You have the following in your jbosscmp-jdbc.xml file: ejb-relationship-role ejb-relationship-role-nameMunicipioEJB/ejb-relationship-role-name key-fields key-field field-nameoid/field-name column-name/column-name

Re: [JBoss-dev] CMP sql generation error...

2002-06-25 Thread Emerson Cargnin - MSA
but the rc2 doesn't complains... Other question : for this kind of relationship DO I really need to have the jbosscmp-jdbc.xml file configuration? After a change in the version of jboss (rc3 if i remember) it started to give me some errors, so I had to put the following tag in one of the

Re: [JBoss-dev] CMP sql generation error...

2002-06-25 Thread Dain Sundstrom
Emerson Cargnin - MSA wrote: but the rc2 doesn't complains... That is because rc2 sucked. Other question : for this kind of relationship DO I really need to have the jbosscmp-jdbc.xml file configuration? Only if you want a custom column mapping. After a change in the version of jboss

Re: [JBoss-dev] CMP sql generation error...

2002-06-24 Thread Dain Sundstrom
File a bug report a sourceforge. Make sure to include the ejb-jar.xml file, or the revelent sections if it is huge. -dain Emerson Cargnin - MSA wrote: I have an CMP application that used to work until rc2, after trying to use with rc3 or 3.0.0 it start to give me jdbc error. Here is the

Re: [JBoss-dev] CMP sql generation error...

2002-06-24 Thread Emerson Cargnin - MSA
ok, but have you seen some kind of wrong sql generation bug appeareing in 3.0.0?? Dain Sundstrom wrote: File a bug report a sourceforge. Make sure to include the ejb-jar.xml file, or the revelent sections if it is huge. -dain Emerson Cargnin - MSA wrote: I have an CMP application

[JBoss-dev] CMP sql generation error...

2002-06-21 Thread Emerson Cargnin - MSA
I have an CMP application that used to work until rc2, after trying to use with rc3 or 3.0.0 it start to give me jdbc error. Here is the ejb-ql and sql generated for it: ejb-ql : select object (o) from Praca where p.municipio.uf.oid= ?1 sql : SELECT t0_p.oid FROM PRACA t0_p, MUNICIPIO