Open session in view with annotation

189 Views Asked by At

Is it possible to use an annotation to do whatever OpenSessionInView filter does: to keep hibernate session open in scope but for only one annotated function?

PS I would need this for local fixes in some legacy code.

0

There are 0 best solutions below