@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Table
This annotation must be used in conjunction with the Entity annotation.
@Entity
@Table(name = "EMP")
public class Employee {
...
}
public abstract java.lang.String catalog
public abstract java.lang.String name
If not specified, the table name is resolved by Entity.naming().