Announcement Announcement Module
No announcement yet.
multi use of resource Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • multi use of resource

    I have conenction to oracle that does a DB write of a record using jdbc.update

    within the service before i send the object to the writer i need to be able to do a lookup of some data from a differnt table within the same database.

    I have tried injecting the jdbc objectb into both the writer DAO and into the servie object and using it in both but i get exceptions with conflicts.

    I dont really want to move the lookup logic into the writer with the insert logic.

    Whats the best way of doing a db lookup in the servie thats pointing to the same db in the writer with out getting concurrency issues?