Fixed findAll query

Fixed findAll query to work with eclipselink JPA implementation.