Resolve LazyInitializationException in hibernate
In hibernate transaction when object with child objects is retrieved we should tell hibernate to get all. Such cases often happen in service layer.
The way is to add hibernate annotation for this meth...
2007-09-12 09:51:35 ·
60 阅读 ·
0 评论