Display SQL from Java Prepared Statement

From: "Campbell, Lance" <lance(at)illinois(dot)edu>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Display SQL from Java Prepared Statement
Date: 2009-08-22 12:53:53
Message-ID: B10E6810AC2A2F4EA7550D072CDE876001D20FC1@SAB-FENWICK.sab.uiuc.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Is there a way I can have the JDBC driver dump out to a log file all of
the SQL statements executed? I am using prepared statements.

Note: I think the development team is doing a great job.

Thanks,

Lance Campbell
Project Manager/Software Architect/DBA
Web Services at Public Affairs
217-333-0382

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2009-08-22 13:48:27 Re: Hibernate and Postgres 8.3/8.4
Previous Message Michael Bell 2009-08-22 07:44:40 Re: Hibernate and Postgres 8.3/8.4