@Entity()
@Table(name = "EMPLOYEE_NATIVE_SQL_RESULTSET_MAPPING")
@SqlResultSetMapping(name = "myMapping", entities = {@EntityResult(entityClass = Employee.class, fields = {@FieldResult(name = "identifier", column = "id"), @FieldResult(name = "simpleName", column = "name")})})
public class Employee implements Serializable {
public Employee();
private static final long serialVersionUID = 1L;
@Id()
private int identifier;
@Column(length = 50)
private String simpleName;
public int getIdentifier();
public void setIdentifier(int identifier);
public String getSimpleName();
public void setSimpleName(String simpleName);
}