users@glassfish.java.net

Re: Toplink Essentials - DoesExistQuery()

From: <glassfish_at_javadesktop.org>
Date: Wed, 12 Dec 2007 08:26:40 PST

Yes, set the persistence.xml property <property name="toplink.logging.level" value="FINEST"/>. This will show you all the debug statements for TopLink.

What the query will look like is a 'select' selecting the PK of the Entity instance based on the Entity instance's PK (SELECT EMP_ID FROM EMPLOYEE WHERE EMP_ID = 2).
--Gordon
[Message sent by forum member 'gyorke' (gyorke)]

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