HI Team

I am using JPA for my project and retrieving data from database.

ManyToOne relationship A (table1) to B (table2),if some element not present
in B i am getting

javax.persistence.EntityNotFoundException.

But,I want result with null value if element not present in table2 .don't
want error to throw in page

How solve javax.persistence.EntityNotFoundException with JPA (not by using
@NotFound in HIBERNATE)

Could you please help.

-- 
Thanks & Regards
 Prabu.N

Reply via email to