@Entity public class Birth extends SinglePersonEvent
Modifier and Type | Field and Description |
---|---|
static String |
FIND_ALL
Specifies the
String that represents the NamedQuery to create a TypedQuery to get all
birth records. |
Constructor and Description |
---|
Birth() |
equals, getPerson, getType, hashCode, setPerson
public static final String FIND_ALL
String
that represents the NamedQuery
to create a TypedQuery
to get all
birth records.
For example:
TypedQuery<Birth> query = em.createNamedQuery(Birth.FIND_ALL, Birth.class);
Copyright © 2015 Joseph Hendrix