Re: SQL logging

From: Tore Halset (halse..vv.ntnu.no)
Date: Fri Jul 15 2005 - 03:15:30 EDT

  • Next message: shaun: "Re: SQL logging"

    On Jul 15, 2005, at 4:47, shaun wrote:

    > Cayenne logs SQL queries like so:
    > SELECT t0.amount, t0.id,
    > FROM payment t0
    > WHERE t0.booking_id = ? [bind: 200]
    >
    > Is it currently possible to get the logging to print the actual SQL
    > instead?
    >

    That is the actual SQL. Cayenne uses prepared statements. Some JDBC-
    drivers send the prepared statements to the database as - prepared
    statements. Others create a non-prepared statement.

      - Tore.



    This archive was generated by hypermail 2.0.0 : Fri Jul 15 2005 - 03:15:46 EDT