Favourie view and JPA mapping works