Hi

Sorry for the late reply but I wanted to try the test myself.
Are you getting an error in the "get" part of your test ?
I don't have oracle installed but have modified your example
can you try this with use_transaction set to true and also with false ?


Dirk



Ting Ning wrote:

> Hi,
>
> I write a small test program to test slide in
> multi-threads env. I enclose my test program here.
> Please take look at it. The NamespaceAccessToken is
> initialized in the main program. Then it is passed to
> the different thread. Each thread just puts the files
> into Slide, and gets it back into file. Each thread
> works on different file.
>
> I run the test program with Slide 1.0.14 with Oracle
> database as descriptor and content stores. I get the
> error like the transaction is not consistent, for
> example, the Oracle error is "fetch out of sequence".
> It is because that connection is shared between the
> two thread.
>
> After doing some debug, I found out there is only one
> database connection in this Slide test. This is why my
> test fails.
>
> Do I do the right thing in this test?
> If not, how can I do it?
>
> Any suggestions are welcome!
>
> Thanks in Advance.
>
> Ting

TestThread.java

Test2.java

Reply via email to