I think that's how Hibernate does it.  Do you have the "showsql" stuff
turned on?  If you do, it will print out the actual SQL with the bind
variables in there.  There should be statements following that something
like "binding parameter 1 as yadda yadda"...

[EMAIL PROTECTED]:19:51 DEBUG (org.hibernate.SQL)     - select user0_.id as 
id3_,
user0_.version as version3_, user0_.name as name3_, user0_.email as email3_,
user0_.encodedPassword as encodedP5_3_, user0_.userId as userId3_ from User
user0_ where user0_.userId=?
[EMAIL PROTECTED]:19:51 DEBUG (org.hibernate.jdbc.AbstractBatcher)     - 
preparing
statement
[EMAIL PROTECTED]:19:51 DEBUG (org.hibernate.type.StringType)     - binding 
'jcarman'
to parameter: 1


-----Original Message-----
From: Andreas Bulling [mailto:[EMAIL PROTECTED] On Behalf Of
Andreas Bulling
Sent: Wednesday, March 01, 2006 7:05 PM
To: Tapestry users
Subject: Question concerning environment setup

Hi everybody,

as I'm still having problems with log4j and the hibernate logfile
output I would like to know how you've setup your development
environment (using Tapestry, perhaps Hibernate, Hivemind and
eclipse).

Do you use the WTP eclipse plugin or are you creating war
files which you deploy every time you change the sources?

Currently I just configured tomcat's docBase to point to
the eclipse workspace subfolder for my project
(which is /context/ as created by the Spindle wizard
for "Tapestry Web project").

Unfortunately log4j.properties (in WEB-INF/classes)
doesn't seem to be recognized as the Hibernate
output still displays ? instead of the bind parameters
(using loglevel debug).

Thanks in advance for any help!
Sincerly,
  Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to