-
1. Re: wrong sql generated by jboss?
adrian.brock Aug 26, 2003 12:20 AM (in response to maciek)Turn on DEBUG for org.jboss.ejb.plugins.cmp
then look in log/server.log to see the generated queries.
My guess is key is a reserved word in mysql
or it could be the lower/upper case confusion.
It is best to keep everything uppercase for portability.
Regards,
Adrian -
2. Re: wrong sql generated by jboss?
wmprice Aug 28, 2003 11:13 PM (in response to maciek)Are you usiing XDoclet? If so, check your ejb.ejb.persistent-field and @ejb.persistence column tags make sure they preceed the correct abastract accessor methods. If not, please post your descriptors.
Regards,
Weston -
3. Re: wrong sql generated by jboss?
maciek Aug 29, 2003 5:18 AM (in response to maciek)thanks
actually the problem was that sql generated by jboss worked well with hypersonic and not with mysql
i tried this sql with mysql cli and it turned out that a table column cannot be named 'key'
so the problem was that i should have get some experience with the database i am using and not 100% rely on jboss sql :)
regards