-
1. Re: JBoss3 - CMR problems
dsundstrom Jan 4, 2002 3:02 PM (in response to sheepe)You have a very old copy of the code. Get the new code and repost if your problems don't go away.
-
2. Re: JBoss3 - CMR problems
lafr Jan 4, 2002 3:25 PM (in response to sheepe)The cause for your first problem is probably, that you have the current code but an outdated standardjbosscmp-jdbc.xml.
The <fk-contraint-template> for your database mapping is missing. -
3. Re: JBoss3 - CMR problems
sheepe Jan 5, 2002 6:24 AM (in response to sheepe)I've checked the today snapshot, getting the jboss-all module from scratch as well. It gave the same exception . If you check it carefully, I wrote that it was working in the version from middle of December, and stopped working in January. Do I have a too old, or a too fresh copy of the code then?
Christopher -
4. Re: JBoss3 - CMR problems
lafr Jan 5, 2002 9:54 AM (in response to sheepe)Which database and which type-mapping do you use ?
I guess the default Hypersonic SQL.
It seems you enabled <fk-constraint> either in standardjbosscmp-jdbc.xml or in your jbosscmp-jdbc.xml.
Hypersonic seems not to support foreign keys, the template for foreign-key creation is empty.
So, choose another database and type-mapping or disable <fk-constraint>.
I also use the most current cvs-version of jboss but with an informix-database for persistance.
Your problems do not appear here. -
5. Re: JBoss3 - CMR problems
sheepe Jan 5, 2002 10:28 AM (in response to sheepe)Yeah, you're right, I am using Hypersonic with it's default configuration at the moment.. I've disabled the fk-constraint using the right XDoclet tag, and now it deploys without any error.. :)
Thanks much for your help,
Christopher