users@glassfish.java.net

Re: Query getResultList throwing exception

From: <glassfish_at_javadesktop.org>
Date: Mon, 10 Mar 2008 22:57:01 PST

Setting TopLink logging level to FINEST I see the following.

connecting(DatabaseLogin(
        platform=>DatabasePlatform
        user name=> ""
        connector=>JNDIConnector datasource name=>null
))|#]

connecting(DatabaseLogin(
        platform=>MySQL4Platform
        user name=> ""
        connector=>JNDIConnector datasource name=>null
))|#]

Connected: jdbc:mysql://<host>:3306/<project>
        User: root_at_localhost
        Database: MySQL Version: 5.0.51a
        Driver: MySQL-AB JDBC Driver Version: mysql-connector-java-5.1.6 ( Revision: ${svn.Revision} )|#]

ClassName=null;MethodName=null;_RequestID=4812afef-7d7a-4b7e-864f-6c9cb9da6b50;|SELECT ID, user_password, user_last_name, optimistic_lock, user_first_name, user_email, user_name FROM users WHERE (user_name = ?)
        bind => [sdoyle]|#]


However, from GF admin console I see the values are set properly and I can successfully ping.

S.D.
[Message sent by forum member 'samdoyle' (samdoyle)]

http://forums.java.net/jive/thread.jspa?messageID=263290