This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

exclusive lock

 
Kalpesh Soni
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to have exclusive lock on my row when i am updating it
If i am writing to a particular row no one should be able to even read it!
So i dont think that it is related to transactions
because in transactions, either u can read commited data or uncommited data
i am using jdbc with oracle 8
in VB they use some property in result set
please tell me soon

------------------
"Sun Certified Java Programmer"
KS
"Failing to plan is like plannig to fail!"
 
Raja Shekhar
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !!
The ORACLE handles this for u...

If u r Writing the EJB..

then u have to set the TRASCATION TYPE..ASin VB..
 
Kalpesh Soni
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks
but what if i am not using ejbs
and the database is shared
meaning
one java and one vb application is accessing the database
?!!
Originally posted by Raja Shekhar:
Hi !!
The ORACLE handles this for u...

If u r Writing the EJB..

then u have to set the TRASCATION TYPE..ASin VB..

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic