Package org.hibernate.annotations
Annotation Type GeneratedColumn
-
@Target({FIELD,METHOD}) @Retention(RUNTIME) public @interface GeneratedColumn
Specifies that a column is defined using a DDLgenerated always as
clause or equivalent, and that Hibernate should fetch the generated value from the database after each SQLINSERT
orUPDATE
.- See Also:
ColumnDefault
-
-
Element Detail
-
value
String value
The expression to include in the generated DDL.- Returns:
- the SQL expression that is evaluated to generate the column value.
-
-