Keith,
that's exactly what I've contributed a couple of weeks ago. Afaik, the code is currently under review, and will be
made available in one of the upcoming releases.
The new framework will allow it to configure 'TransactionManagerFactories' via the castor.properties file, and specify
the default one to use via the jdo-conf.xml file (iow, database.xml in teh current release).
Regards
Werner
On Thu, 30 Oct 2003 14:00:24 -0600, Keith Visco wrote:
>
>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
>
- [castor-dev] WebSphere and User Transactions David C. Rae
- Re: [castor-dev] WebSphere and User Transactions Werner Guttmann
- Re: [castor-dev] WebSphere and User Transactions Patrick van Kann
- Re: [castor-dev] WebSphere and User Transactions Keith Visco
- Re: [castor-dev] WebSphere and User Transactions David C. Rae
- Werner Guttmann
