I found the reason. Oracle DB schema of ID is CHAR(10) . When I execute EntityManager.find, Oracle returns 10-length string. So SELECT statement returns null because 'where' does not match. How can I trim the returned 10-length string value from Oracle?