You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by vb...@siuh.edu on 2003/04/08 21:28:23 UTC
Re: OJB/JNDI/TOMCAT(Scanned for viruses: Notes Admin)
Here is an extract from my repository_database.xml
<jdbc-connection-descriptor
jcd-alias="reportsDev"
default-connection="true"
platform="MsSQLServer"
jdbc-level="2.0"
jndi-datasource-name="java:comp/env/jdbc/ReportsDev2"
batch-mode="false"
useAutoCommit="1"
ignoreAutoCommitExceptions="false"
>
<sequence-manager
className="org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl">
<attribute attribute-name="grabSize" attribute-value="1"/>
</sequence-manager>
</jdbc-connection-descriptor>
Sincerely,
Vladimir Berezniker
Sr. Programmer Analyst
Staten Island University Hospital
"Brandon Goodin" <ma...@phase.ws>
04/08/2003 02:56 PM
Please respond to "OJB Users List"
To: "OJB Users List" <oj...@db.apache.org>
cc:
Subject: OJB/JNDI/TOMCAT(Scanned for viruses: Notes Admin)
Are there any examples for configuring the ConnectionFactoryManagedImpl to
use Tomcat's JNDI? I've tried to get it to work but have failed.
Brandon Goodin
-----Original Message-----
From: Leandro Rodrigo Saad Cruz [mailto:leandro@ibnetwork.com.br]
Sent: Tuesday, April 08, 2003 12:49 PM
To: OJB Users List
Subject: Re: Simple question
On Tue, 2003-04-08 at 15:45, Edson Carlos Ericksson Richter wrote:
> Hi!
Ola (br) !
>
> I've a classe that is a UseCase, with several activities inside (lets
say,
> create, delete, update and get objects from my database), using OJB
1.0rc2.
>
> If I have multiple users accessing this UseCase class to persist my
object,
> is needed to synchronized access to PersistenceBroker instance (since
it's
> shared by all the methods), or this is already synchronized internally?
>
If you want you must serialize the access to OJB manualy.
search the archive for 'multithreading'
> Thanks,
>
> Edson Richter
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.470 / Virus Database: 268 - Release Date: 8/4/2003
--
Leandro Rodrigo Saad Cruz
IT - Inter Business Tecnologia e Servicos (IB)
http://www.ibnetwork.com.br
http://jakarta.apache.org/ojb
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org