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?
it is same as using “Select * ” in the normal sql… here ‘e’ represents the reference to the class…