added jpql example with object instanstiation