Hi guys! I'm trying to select record from the database and map it into my class. I'm using JPA and Toplink. First of all, here is my query.
My entity class
As you can see, I'm thinking that userId and all other fields would already be poppulated. But when I supply correct data for the username and password and the Object is retrieved, its members especially the userId is not filled. Why is that? Thanks!