I want to manage a Transaction in my persistence layer, But when I try to fetch the results lazily I get this error:
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role
Can I use LockMode or any other way to solve this problem? Can a find a Object by its id without any Transaction?