jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandru Popescu <the.mindstorm.mailingl...@gmail.com>
Subject Re: SimpleDbPersistenceManager and connection pooling
Date Tue, 24 Jan 2006 10:07:33 GMT
#: Alexandru Popescu changed the world a bit at a time by saying (astral date: 1/23/2006 4:02
AM) :#
> Hi!
> I am wondering if an environment in which for each user a javax.jcr.Session is used,
> SimpleDbPersistenceManager should not obtain its underlying db connection from a connection
> sorry if this question is stupid,
> ./alex
> --
> .w( the_mindstorm )p.

I am still wondering if this is really a bad question. It looks to me that a single 
SimpleDbPersistenceManager instance would be used per repository, so a single Connection.
And this 
makes me thing that in a multi-concurrential env it would be better to have some connection
Or still I miss the whole idea? (I have checked the documentation on wiki about PersistenceManagers

and have been taking a look at the code, but whatever the answer would be to my question this
is not 
so visible from these places).

any answer/suggestion/opinion is highly appreciated,

.w( the_mindstorm )p.

View raw message