I've tried looking at the server.log file, and it contains the same data as the jboss console.  I still don't see any sql statements.  Here's a snapshot of my jaws.xml file:
 
<jaws>
  <datasource>AdsDB</datasource>
  <type-mapping>Oracle8</type-mapping>
  <default-entity>
    <create-table>true</create-table>
    <remove-table>false</remove-table>
    <read-only>false</read-only>
    <select-for-update>false</select-for-update>
    <debug>true</debug>
  </default-entity>
 <enterprise-beans>
  <entity>
   <ejb-name>AdBean</ejb-name>
   <table-name>AD</table-name>
   <create-table>false</create-table>
   <debug>true</debug>
   <cmp-field>
   <field-name>adId</field-name>
    <column-name>AD_ID</column-name>
   </cmp-field>
   <cmp-field>
    <field-name>adTypeId</field-name>
    <column-name>AD_TYPE_ID</column-name>
   </cmp-field>
   <cmp-field>
    <field-name>dateTime</field-name>
    <column-name>DATE_TIME</column-name>
   </cmp-field>
  </entity>
 </enterprise-beans>
</jaws>
 
----- Original Message -----
Sent: Saturday, July 28, 2001 10:03 AM
Subject: CMP Debug SQL Statements (JAWS)

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.

Reply via email to