users@glassfish.java.net

Re: TopLink Essentials DatabaseSession support

From: Gordon Yorke <gordon.yorke_at_oracle.com>
Date: Thu, 15 Feb 2007 16:52:54 -0500

Hello,
    Currently there is no way to have JPA implementation use a Database
Session, an enhancement should be filed. In the meantime what
behaviour did you encounter when setting min/max to 1?
--Gordon
glassfish_at_javadesktop.org wrote:
> I'm trying to configure toplink essentials out of container in a client/server arquitechture.
> I want toplink to get just a single connection (not a connection pool)
> Using the property: toplink.jdbc.write-connections.max=1, toplink.jdbc.read-connections.max=1 does not work
>
> Reading TopLink documentation says that I must use DatabaseSession, but how I configthe ure persistence.xml to use a [b]DatabaseSession[/b]?
>
> Some ideas?
>
> Thanks
> [Message sent by forum member 'jrenatogonzalez' (jrenatogonzalez)]
>
> http://forums.java.net/jive/thread.jspa?messageID=203647
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>