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
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
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
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
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
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