Seaborne [mailto:a...@apache.org]
Sent: Monday, April 15, 2013 10:10 AM
To: users@jena.apache.org
Subject: Re: Concurrency in Jena/SDB
On 15/04/13 14:51, Lebling, David (US SSA) wrote:
Andy,
Which part of that document is the part that might help? My code
already creates a new Store for each
@jena.apache.org
Subject: RE: Concurrency in Jena/SDB
Andy,
I was hoping you might have some guidance as to what you mean by You need to
control the JDBC transaction in your code to get isolation between JVMs.
Is there some interface in SDB that will accomplish this, or does this require
SQL
As Joshua Bloch says, concurrency is hard.
David Jordan,
The model.begin/model.commit/model.abort trio seems to work okay for all
operations within a single JVM, although if you look at the code I included
with my original question you'll a lot of decoration that may or may not be
required.
to access
the needed JDBC objects.
-Original Message-
From: Damian Steer [mailto:cm...@bristol.ac.uk] On Behalf Of Damian Steer
Sent: Monday, April 15, 2013 9:27 AM
To: users@jena.apache.org
Subject: Re: Concurrency in Jena/SDB
On 15 Apr 2013, at 12:35, Lebling, David (US SSA)
david.lebl
...@apache.org]
Sent: Monday, April 15, 2013 9:42 AM
To: users@jena.apache.org
Subject: Re: Concurrency in Jena/SDB
This might help:
http://jena.apache.org/documentation/sdb/javaapi.html#connection-management
Andy
On 15/04/13 14:38, David Jordan wrote:
So every call to a method of Model
On 15 Apr 2013, at 14:38, David Jordan david.jor...@sas.com wrote:
So every call to a method of Model or OntModel is done in a separate
transaction? This could easily explain the poor performance I am getting, and
those of others who have complained about SDB performance in this group.
.
-Original Message- From: Andy Seaborne
[mailto:a...@apache.org] Sent: Monday, April 15, 2013 9:42 AM To:
users@jena.apache.org Subject: Re: Concurrency in Jena/SDB
This might help:
http://jena.apache.org/documentation/sdb/javaapi.html#connection-management
Andy
suggesting something
different?
Dave
-Original Message-
From: Andy Seaborne [mailto:a...@apache.org]
Sent: Monday, April 15, 2013 10:10 AM
To: users@jena.apache.org
Subject: Re: Concurrency in Jena/SDB
On 15/04/13 14:51, Lebling, David (US SSA) wrote:
Andy,
Which part of that document
David,
Your not executing inside a database level (JDBC) transaction. I'm
afraid model.begin/commit does not know about JDBC properly. You need
to control the JDBC transaction in your code to get isolation between JVMs.
Which SQL database are you using?
Andy
On 10/04/13 16:12,
Andy,
It has been used with Postgres and MySQL.
Dave
-Original Message-
From: Andy Seaborne [mailto:a...@apache.org]
Sent: Thursday, April 11, 2013 8:16 AM
To: users@jena.apache.org
Subject: Re: Concurrency in Jena/SDB
David,
Your not executing inside a database level (JDBC
10 matches
Mail list logo