It might be cleaner if the JDO#getDatabase code was abstracted a bit so
that it could be "pluggable" as opposed to patching it each time. This
way the Websphere specific code could be distributed as a plugin instead
of a code patch.
--Keith
Werner Guttmann wrote:
>
> Yes, David. There's plenty of people on this user group that use
> Websphere and Castor JDO together in an J2EE environment with
> transaction demarcated e.g. by the container (in case you are using
> EJBs). Please browse for quite recent postings on the maioling list
> archive to see a valid and suggested solution.
>
> In the end, the solution breaks down to patching
> JDO.java#getDatabase() in a way that a JNDI lookup is replaced with
> some IBM specific code.
>
> I hope this addresses and answers your question.
> Werner
>
> --Original Message Text---
> From: David C. Rae
> Date: Wed, 29 Oct 2003 20:55:30 -0500
>
> Has anyone been successful using UserTransaction with WebSphere 4 or
> 5? I am using the Database.begin() and Database.commit() and they work
> fine. Using usertransaction.begin and commit throws a transaction not
> in progress exception.
>
> Thanks,
>
> Dave Rae.
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev