persistence@glassfish.java.net

Glassfish V2: From hibernate to toplink: Actual SQL statement

From: Tonton Dede <tonton.dede_at_gmx.net>
Date: Wed, 17 Oct 2007 11:58:21 +0200

Hi,

I am porting an EAR application from JBoss 405/Hibernate to Glassfish
2/Toplink.

Everything wen well, but some DB request don't work any more.

For instance:
SELECT OBJECT(u) FROM Utilisateur u WHERE RTRIM(u.logname)=:l

which worked with Hibernate does not work anymore. Is there a way to get
the actual SQL sent to the DB server

Kind regards,
TD