Thanks!

-----Ursprüngliche Nachricht-----
Von: Pinaki Poddar [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 13. November 2008 11:08
An: [email protected]
Betreff: Re: Question about Entity names in JPA Queries



Map User entity to AmsUser table as follows
@Entity
@Table(name = "AmsUser")
public class User implements Serializable {...}

then you can continue to use JPQL query as
   "select u from User u where u.accountNumber = :pnumber"


-- 
View this message in context: 
http://n2.nabble.com/Question-about-Entity-names-in-JPA-Queries-tp1493278p1493471.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to