Hi I'm following the blog sample design. I have a persistence layer and several entities. The problem is when returned objects from persistence service, I can't the OneToMany(Or ManyToOne) field which marks FetchType=LAZY, I have to make it EAGER.
It gives out null pointer exception, I think it has something to do with EntityManager scope. My entity has filed like lost of pictures, which I don't think make it load EAGER is a good idea. Is there anyway I can use lazy loading or some work around? Regards LongkerDandy
