From 4a88399bb5b96c380e04551423087917149970a8 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Fri, 31 Dec 2021 16:53:10 +0100 Subject: [PATCH] remove name() from @ColumnDefault + @GeneratedColumn after all that, we decided it wasn't necessary :-D --- .../hibernate/annotations/ColumnDefault.java | 17 +------- .../annotations/GeneratedColumn.java | 18 +------- .../java/org/hibernate/cfg/Ejb3Column.java | 42 +++++++------------ .../generated/always/GeneratedAlwaysTest.java | 2 +- 4 files changed, 19 insertions(+), 60 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/annotations/ColumnDefault.java b/hibernate-core/src/main/java/org/hibernate/annotations/ColumnDefault.java index 8853aac171..2c02eb3d49 100644 --- a/hibernate-core/src/main/java/org/hibernate/annotations/ColumnDefault.java +++ b/hibernate-core/src/main/java/org/hibernate/annotations/ColumnDefault.java @@ -14,8 +14,7 @@ import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** - * Specifies that a column has a {@code DEFAULT} value specified in DDL, - * and whether Hibernate should fetch the defaulted value from the database. + * Specifies that a column has a {@code default} value specified in DDL. *

* {@code @ColumnDefault} may be used in combination with: *