Feb 16th, 2006, 07:32 AM
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.
Feb 16th, 2006, 08:12 AM
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?
Feb 16th, 2006, 09:02 AM
I posted a reply to your original message.