Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

Log the SQL parameters used by ORM

$
0
0

Hi Everyone,

 

I have read Rupesh's blog post;

http://www.rupeshk.org/blog/index.php/2009/07/coldfusion-orm-how-to-lo g-sql/

 

and have appropriately changed the log4j setting

 

### Also log the parameter binding to the prepared statements.

log4j.logger.org.hibernate.type=DEBUG

 

 

But I still do not see the values of query parameters in my log files.

 

All I get is the auestion marks;

09/15 12:35:57 [ajp-bio-8014-exec-3] HIBERNATE DEBUG -

    insert

    into

        audit_log

        (description, created, userID)

    values

        (?, ?, ?)

 

 

Does anyone have any ideas? And as always - thanks in advance!

 

 

Gavin.

 

Message was edited by: GavinBaumanis


Viewing all articles
Browse latest Browse all 5794

Trending Articles