This week's book giveaway is in the Go forum.
We're giving away four copies of Head First Go and have Jay McGavren on-line!
See this thread for details.
Win a copy of Head First Go this week in the Go forum!
  • 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 ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

stored procedures execution locks  RSS feed

Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi gurus,

we have an application that calls some stored procedures (oracle9i). those procedures are using different tables and are not related.
everything worked fine for a long time but today we've noticed a strange behavior:
when one stored procedure is triggered, other procedures executed while the first one is still running are blocked and wait, until that first procedure is ending. this happens with all procedures, their execution is not concurrent anymore.
from the java point of view: a callablestatement.execute() method is called, but the logs in pl/sql show that a stored procedure function is not triggered, this until any other stored procedure is running. no exceptions are thrown, all procedures are executed in a queue. we have cases when a stored procedure is running for hours, the waiting ones are not throwing time outs.
nothing has been changed on db level... there is always a chance for an issue with a new jar or something, but we can't figure it out. maybe someone here have already seen such thing? any ideas are welcomed!
thank you for your time.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!