You'll need to declare your transaction boundaries in your application context file (I didn't see any in the example above). I'm not sure which style you are using (annotations versus configuration) but in config terms you will need to define a pointcut that says which methods Spring should intercept in order to wrap in a transaction. Here is an example:
You then will need to specify the transactions in the AOP advice. Again, here's an example:
There's some good documentation on the Spring site itself
Here is the modified version of the code I have. I am trying to use ProxyFactoryBean.
This seems to work atleast for the read operations. I need to test for write though.
I do NOT want to use AOP as I am not using any features of AOP.
There must be another way of doing this.. configuring spring and hibernate for jdk 1.4
Thanks in advance.
Destiny's powerful hand has made the bed of my future. And this tiny ad: