i'm using javax.persistence.entitymanager
in programme. i've user table use string
username
primary key
in mysql database. when find value username found problem.
sample data :
username : mobileuser001 username : mobileuser002
i used public <t> t find(class<t> entityclass, object primarykey);
so when send "mobileuser001" , "mobileuser001" , "mobileuser001" primary key persistence searched correct data. gives username input, not username correct case in database.
i need correct case "mobileuser001" input mentioned above.
Comments
Post a Comment