• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

simulteneouse update on same table?

 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hii All...

I need to perform simulteneouse updates on the same table. I want to do something like one application instance will update some set of rows and other application instace will update another set of rows. But i am not sure how to do that?

I think i can use row id like one instace will update first 1000 row ids and another instace will update 1001 -2000 rowids. But as i need to delete rows so row id may not be constant always.

Please suggest better way of doing this. I hope i am able to explain requirement clearly.

Regards...
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I ask why you need to do this? It sounds quite like you are trying to hand craft behaviour that Oracle will provide without you needing to know how its done. Assuming you are identifying your data to update using primary keys there won't be a clash.
 
He repaced his skull with glass. So you can see his brain. Kinda like this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!