I think you can create a native query from entityManager.checkout all the methods available in em
raghu