Joined: Tue Oct 19, 2004 4:05 am Posts: 14 Location: ireland
|
hi,
I'm curious how you separate business logic from database. While hibernate maps tables to classes is it OK to put busness logic functions in these classes or perhaps the should be implemented by some kind of interface implemented in some ObjectDAO. On the other hand if business logic is implemented in hibernate mapped classes isn't it putting DAO funcionality into these objects (the class will have such objects as Session which is hibernate specific)? I'm a little bit confused in this issue (where is the line separating DAO from business logic) and welcome your opinion.
|
|