In JPA, is it possilble to get a query result that has return type other an entity bean?
For example, table user has userid,username,age.
Can I create a JPA Query to return just all userids?
another question is say I have another table user2, userid,otherinfo1, otherinfo2 etc.
I want to get all info from these two table (one to one connection). what is the best way to do it?
is this allowed in JPA ( user.userid=user2.userid) ?
Thanks.
[Message sent by forum member 'bobxu' (bobxu)]
http://forums.java.net/jive/thread.jspa?messageID=280163