DAO and Service layer in Spring: session management

Posted by EugeneP on Stack Overflow See other posts from Stack Overflow or by EugeneP
Published on 2010-04-02T12:27:36Z Indexed on 2010/04/02 12:33 UTC
Read the original article Hit count: 141

Filed under:
|
|

I heard that one needs to put Transaction management on a Service layer.

Then question: how does DAO layer get access to a session?

Suppose, it must have a setSession() method.

Then, does a DAO interface has to have this method?

© Stack Overflow or respective owner

Related posts about java

Related posts about spring