Hi

I have following question:

I am using multiple connections from parallel threads against an embedded
derby database.

Thread1:
add a record to a table using connection1

Thread2:
fetch a resultset using a query on the table using connection2

My problem is that connection2 does not return the newly added record even
though thread2 event happens after the event in thread1 and "auto-commit" on
the JDBC connection object is set to true.

Is there a solution to this problem?

-- 
View this message in context: 
http://old.nabble.com/Embedded-derby-stale-data-problem-tp27172548p27172548.html
Sent from the Apache Derby Developers mailing list archive at Nabble.com.

Reply via email to