Java Reference
In-Depth Information
• It
must
be
identified
as
an
entity
using
the
@javax.persistence.Entity annotation
• It
must
have
an
identifier
attribute
annotated
with
@javax.persistence.Id
• It must have a no-argument constructor
Since you will learn better with an example, we will show how to create and deploy a
sample JPA application on JBoss AS 7 in the next section.
Search WWH ::




Custom Search