tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <>
Subject RE: [OT] Synchronising database access
Date Fri, 21 Nov 2003 16:25:56 GMT
One simple solution with no code changes:

Use a pool with a max of one connection and a 
long timeout. This way only one thread can get
a connection.

> -----Original Message-----
> From: Antony Paul []
> Sent: Friday, November 21, 2003 12:51 PM
> To: Tomcat Users List
> Subject: [OT] Synchronising database access
> I want to synchronise all database access. T
> How to do it. Do I have to synchronise on Connection or on this or implement
> SingleThreadModel. I also want to know how much extra time a 
> synchronised block requires than an unsynchronised block.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message