users@glassfish.java.net

Plugging into Toplink

From: <glassfish_at_javadesktop.org>
Date: Wed, 16 Jan 2008 14:50:29 PST

Hi,

   I am trying to integrate Toplink with Compass. Though there already exists an integration between the two, I would love to have a more tight integration. One way to go about it is to have a Compass SessionCustomizer, which seems like the right place. The problem with this is the fact that session.getProeprties() basically returns me no properties since it does not hold the properties defined within the persistence unit xml. In this properties I was hoping to add specific Compass properties. Does someone has an idea of a workaround? Is there another (better) entry point into the lifecycle of Toplink that I am missing besides the session customizer?

Thanks,
Shay
[Message sent by forum member 'kimchy' (kimchy)]

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