About @Entity

manual

JPA Persistable Types

Explains how JPA manages types, including entity classes, embeddable classes, primitive types, wrappers, string, date, enum, collections and maps.... See JavaDoc Reference Page... annotation: @Entity javax.persistence.Entity JPA annotation Specifies that ... JavaDoc Reference Page... JPA annotation: @Entity javax.persistence.Entity JPA annotation Specifies that ...

 
manual

Storing JPA Entity Objects

Explains how to use JPA to store (persist) entity objects in the database.... objects can be referenced by a collection field): @Entity javax.persistence.Entity JPA annotation Specifies that ...

 
manual

Retrieving JPA Entity Objects

Explains how to use JPA to retrieve entity objects from the database.... cascaded retrieval by using a lazy fetch type: @Entity javax.persistence.Entity JPA annotation Specifies that ... by an explicit FetchType.EAGER setting: @Entity javax.persistence.Entity JPA annotation Specifies that ...

 
manual

Deleting JPA Entity Objects

Explains how to use JPA to delete (remove) entity objects from the database.... objects can be referenced by a collection field): @Entity javax.persistence.Entity JPA annotation Specifies that ... JavaDoc Reference Page... annotations: @Entity javax.persistence.Entity JPA annotation Specifies that ...

 
api-jpa

javax.persistence.Entity

Specifies that the class is an entity.(Annotation of JPA)

 
manual

Defining a JPA Entity Class

Shows how to define a JPA entity class in order to store objects in the database.... package com. objectdb . tutorial ;   @Entity javax.persistence.Entity JPA annotation Specifies that ... Java class. The only unique JPA addition is the @Entity javax.persistence.Entity JPA annotation Specifies that ...

 
tutorial

Step 2: Entity Class and Persistence Unit

Explains how to define a JPA entity class and a persistence unit (persistence.xml) in a NetBeans Java EE 6 web application.... ; import javax. persistence . Id ;   @Entity public class Guest implements Serializable { ...

 
tutorial

Step 2: Entity Class and Persistence Unit

Explains how to define a JPA entity class and a persistence unit (persistence.xml) in a NetBeans Spring MVC web application project.... ; import javax. persistence . Id ;   @Entity public class Guest implements Serializable { ...

 
manual

JPA Primary Key

Explains how to define and use primary keys in JPA, including composite and embedded primary keys.... can be accessed by declaring a primary key field: @Entity javax.persistence.Entity JPA annotation Specifies that ... before any attempt to persist the entity object: @Entity javax.persistence.Entity JPA annotation Specifies that ...

 
manual

Detached Entity Objects

Explains detached entity objects and how to work with detached objects in JPA, including merging them into an EntityManager.... objects can be referenced by a collection field): @Entity javax.persistence.Entity JPA annotation Specifies that ... objects can be referenced by a collection field): @Entity javax.persistence.Entity JPA annotation Specifies that ...