-
1. Re: Show generated SQL statements in console
dev2gosoft Jul 20, 2004 5:58 PM (in response to dho)Yes. Choose "DEBUG" (instead of "Info" )level of message in log4j.xml
../conf directory.
You will get a whole bunch of debug level messages in the console along with generated sql by the cmp.
hope it helps -
2. Re: Show generated SQL statements in console
dho Jul 21, 2004 5:00 AM (in response to dho)Thanks for the tip. I allowed me to solve my CMP problem quickly.
Regards,
Daniel -
3. Re: Show generated SQL statements in console
dev2gosoft Jul 22, 2004 8:35 AM (in response to dho)dho,
Actually Alexey pointed out how to turn on just the cmp queries instead of all the crap that gets out in the approach i mentioned.
I am posting what alexey posted in one of my topics. Hope it helps
--------------------------------------------------------------------------------
Reposting XML in the code block
Code:
_________________
Alexey Loubyansky
CMP Lead Developer
JBoss, Inc -
4. Re: Show generated SQL statements in console
dev2gosoft Jul 22, 2004 8:36 AM (in response to dho)Here is the code block. i forgot to put code tags around it
--------------------------------------------------------------------------------<category name="org.jboss.ejb.plugins.cmp"> <priority value="DEBUG"/> </category>