javax.persistence
Annotation Type Entity


@Documented
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Entity

The Entity annotation marks a class as a persistent entity. In many cases, each entity will correspond to a database table.


Optional Element Summary
 java.lang.String name
           
 

name

public abstract java.lang.String name
Default:
""