Thanks, I have seen those posts and have gotten them to work. With
WebSphere 5.0, still working on WebSphere 4.0

-----Original Message-----
From: Patrick van Kann [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 30, 2003 5:19 AM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] WebSphere and User Transactions

One other slight tip when using UserTransactions - call ut.begin() 
BEFORE calling jdo.getDatabase();

Hope it helps.

Patrick


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

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to