[jpql] java.sql.SQLException: Fail to convert to internal representation