A few idea's
Are you "commiting" your Delete statement?
"If" you are using prepared statements, you may try to synchronized the
statement.
Why even use SingleThreadModel perhaps use a connection pool?
Tom Kochanowicz
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Efe
Baris
Sent: Friday, June 30, 2000 3:26 AM
To: [EMAIL PROTECTED]
Subject: Concurrency Problem?
Hi all,
I made a Personalization project which a user select his content category
and then he or she chose his selections from this content(add or delete).
I made a DB Layer classes to interact with DB and i made add and delete
methods like
synchronized public boolean deleteHoroscope(String horoscopeCode){
...
}
i also do my servlets as
implements SingleThreadModel
It was okay without concurrecy
But users are losing their personalized.
When i trace the DB SQLs which includes DELETE statement i can`t see any
abnormal statement?
What could be reason?
What should i do?
Do you know resource that i should read?
Thanks all in advance.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html