AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

locking a single row with pointbase???

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases
View previous topic :: View next topic  
Author Message
Holger Bolzum
Guest





PostPosted: Mon Aug 15, 2005 12:19 pm    Post subject: locking a single row with pointbase??? Reply with quote



Hi!
I am programming transactions in TRANSACION_SERIALIZABLE mode. At the
beginning of a transaction i want to set a write lock on a single
table row with this UPDATE command:
this.stmt.executeUpdate( "UPDATE TABLE SET(COLNAME) = VALUES(anything)
WHERE COLNAME = anything);

In TRANSACION_SERIALIZABLE mode the pointbase DBMS locks this row and
the following row in the table also, that means 2 rows??? i dont
understand that.
In TRANSACTION_READ_COMMITTED pointbase only locks the row which the
UPDATE statemant applies to.

Has anybody an idea why pointbase does this???
thanks
Holger
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.