openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <>
Subject Re: Question about Entity names in JPA Queries
Date Thu, 13 Nov 2008 10:07:44 GMT

Map User entity to AmsUser table as follows
@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:
Sent from the OpenJPA Users mailing list archive at

View raw message