Announcement Announcement Module
Collapse
No announcement yet.
Transactions Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Transactions

    I posted about 2 months ago and never got an answer, and I still don't have transactions working. They don't seem to even be starting. I'm thinking that maybe it's because I have my datasource defined in both application-context and in projectname-servlet.xml - back when I was starting the project I got errors when I tried to remove either one. I have definitions in both that use the datasource, but only the projectname-servlet.xml definitions need transactions. Could this be my problem? I could use an 'easy' answer - I'm doing a 2+ person project on my own and with the same deadlines, so I don't have alot of time to try to get examples running & trace code.

    Thanks in advance.

  • #2
    Another possibility for my problem: I have the datasource linked to the dao's but I wanted to put the transactions on the classes that call the daos' functions (jdbc.) Do the datasource and the transaction have to be defined for the same class?

    Comment


    • #3
      I posted a reply to your original message.

      Comment

      Working...
      X