@NamedQuery select parameter meaning

Posted by sergionni on Stack Overflow See other posts from Stack Overflow or by sergionni
Published on 2010-05-14T09:12:43Z Indexed on 2010/05/14 9:34 UTC
Read the original article Hit count: 301

Filed under:
|
|

Found some examples of @NamedQuery annotations,e.g.:

@NamedQuery(name="employeeBySsn" query="select e from Employee e where e.ssn = :ssn")

what does parameter e mean?

the second usage of it seems like alias name of table and what does "select e" part mean?

© Stack Overflow or respective owner

Related posts about jpa

Related posts about java