Joseph Hwang [
http://community.jboss.org/people/aupres] created the discussion
"Re: EntityManager.find returns null."
To view the discussion, visit:
http://community.jboss.org/message/605423#605423
--------------------------------------------------------------
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?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/605423#605423]
Start a new discussion in EJB3 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]