users@glassfish.java.net

view exact sql in glassfish love

From: <forums_at_java.net>
Date: Mon, 28 Mar 2011 21:25:43 -0500 (CDT)

Hello -

Is it possible to view the FULL sql running through a JDBC connection
configured on Glassfish going to a MySQL server?

In the server.log now I see this type of select:

"SELECT Username, LastName, Password, Email, UpdatedDt, FirstName, CreatedDt
FROM User WHERE (Username = ?)")

I know it is passing in a username and not a question mark but I would like
to view the full detail inside the log... is this possible?

Thank you in advance!


--
[Message sent by forum member 'dpace32']
View Post: http://forums.java.net/node/786167