Hi,
> is it possible to make jBoss print the SQL generated for a CMP-bean?
> I have tried setting <call-logging>true</call-logging> in
> standardjboss.xml,
> and also <attribute name="LoggingEnabled">true</attribute> in
> jboss.cml,
> without success.
READ THE MAILING LIST ARCHIVE... and you will find Tobias said....
You have to compile JBoss yourself (get it from cvs or the
sourcesnapshot, be careful since config files changed between 2.0 FINAL
and cvs !). BEFORE you execute the build script in jboss/src/build edit
the file
jboss/src/main/org/jboss/ejb/plugins/jaws/jdbc/JDBCCommand.java
Set
public static boolean debug = false;
to
public static boolean debug = true;
and save, then compile.
If you add Debug in jboss.conf in the logger entry you should see all
SQL statements now.
Have fun,
Chris
================================================================================================
This electronic message (email) and any attachments to it are subject to copyright and
are sent for the personal attention of the addressee. Although you may be the named
recipient, it may become apparent that this email and its contents are not intended
for you and an addressing error has been made. This email may include information that
is legally privileged and exempt from disclosure. If you have received this email in
error, please advise us immediately and delete this email and any attachments from
your computer system.Rabobank International is the trading name of Coöperatieve
Centrale Raiffeisen-Boerenleenbank B.A. which is incorporated in the Netherlands.
Registered with the Registrar of Companies for England & Wales No. BR002630 and
regulated by the SFA for the conduct of investment business in the UK.
The presence of this footnote also confirms that this email has been automatically
checked by Rabobank International for the presence of computer viruses prior to it
being sent, however, no guarantee is given or implied that this email is virus free
upon delivery.
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]