@Target(value=FIELD)
@Retention(value=RUNTIME)
public @interface Column
The annotated field must be a member of an Entity annotated class.
@Entity
public class Employee {
@Column(name = "EMPLOYEE_NAME")
String employeeName;
@Column(name = "SALARY")
BigDecimal salary;
...
}
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
insertable |
java.lang.String |
name
The name of the column.
|
boolean |
quote |
boolean |
updatable |
public abstract java.lang.String name
If not specified, the name is resolved by Entity.naming().
public abstract boolean insertable