On 28 Jul 2001 10:03:42 -0700, Michael Angelo Libio wrote:
> For some reason (jboss manual), I was under the impression that I can view the SQL 
>statements executed by the CMP beans via the console/terminal.  In JAWS, I've set the 
><debug></debug> to true, but I don't see any SQL statements.  Should be looking 
>elsewhere?  Any help, is appreciated.  Thank you.

Try something like this in jaws.xml

<jaws>
  <datasource>java:/PostgreSQL</datasource>
  <type-mapping>PostgreSQL</type-mapping>
  <debug>false</debug>
  <default-entity>
    <create-table>true</create-table>
    <remove-table>false</remove-table>
    <tuned-updates>true</tuned-updates>
    <read-only>false</read-only>
    <time-out>600</time-out>
    <pk-constraint>false</pk-constraint>
  </default-entity>
 .....

Then do a

   tail -f log/server.log

to see the output.  Works for me :)

--
  Nicolai P Guba    http://www.gnu.org         http://www.frontwire.com
                    mailto:[EMAIL PROTECTED]     mailto:[EMAIL PROTECTED]
                    GSM: +44 (0)7909 960 751   DDI: +44 (0)20 7368 9708

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to