I'm trying to test castor with websphere 4 and I can't make it work in my

container manage transaction. I've create a new Datasource test

in my whebsphere instance, when in test it directly it works fine.

Now when I try to associate use it with castor the problem begin :o(

First I have create my database an mapping file.

My database file contains an element jndi with

the name of the jndi name of the datasource for attribute.

When I try to create a new Object in my database the method

DatabaseImpl.getTransaction throw a

TransactionNotInProgressException ????

Did I make something wrong ???? (My transaction is container manage ...)

It works fine when I use directly the datasource !!!!!!!

The BD is an Oracle 8i instance.

The datasource is a oracle.jdbc.pool.OracleConnectionPoolDataSource class.

Thanks to help me.

 

Christophe Frey



Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Testez le nouveau Yahoo! Mail

Reply via email to