All-

Thank you (Armin) for the response on JTA Support.

I am trying to get the Cocoon example working in EJB container. This time I am 
using the jndi facility to access the datasource but calling the transaction 
explicitly. What OJB properties that I should set for OJB to work in EJB 
container? Appreciate your input.

> Here is my current setup for the jdbc-connection:
> 
> <jdbc-connection-descriptor
>    jcd-alias="default"
>    default-connection="true"
>    platform="Oracle"
>    jdbc-level="2.0" 
>    batch-mode="false"
>    useAutoCommit="0"
>    ignoreAutoCommitExceptions="false"
>    jndi-datasource-name="jdbc/c1Datasource">
> </jdbc-connection-descriptor>
> 

Thanks.,

-Muthu




-----Original Message-----
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Friday, February 04, 2005 3:24 PM
To: OJB Users List
Subject: Re: Use of JDO and JTA with EJB.


Hi Muthu,

currently you can't use the OJB-JDO prototype in managed enviroments, 
because JTA integration is not supported (so JDO can't participate in 
JTA-tx).
I recommend to use another open-source JDO implementation.

Brian recommends JPOX

regards,
Armin

Ramaswamy, Muthu wrote:
> Hi All-
> 
> I am new to Apache OJB/JDO and trying to use JDO support within Session Beans 
> in Websphere 5.1 using JTA/Container Managed Transaction.
> 
> (a) Could someone provide me a sample repository.xml and OJB.properties for 
> use inside EJB container? A sample code snippet would also help.
> 
> Here is my current setup for the jdbc-connection:
> 
> <jdbc-connection-descriptor
>    jcd-alias="default"
>    default-connection="true"
>    platform="Oracle"
>    jdbc-level="2.0" 
>    batch-mode="false"
>    useAutoCommit="0"
>    ignoreAutoCommitExceptions="false"
>    jndi-datasource-name="jdbc/c1Datasource">
> </jdbc-connection-descriptor>
> 
> Also, what OJB properties that I must set for use with EJB/Managed Container 
> Solution?
> 
> (b) Can I use Container Managed Transaction? Is it supported by Apache OJB? I 
> prefer not to use tx.begin() and tx.commit calls.
> 
> Appreciate your input. Thanks.
> 
> -Muthu
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to