Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 4324509a59c0f8e4e6e16eee8c154f302826bd88
https://github.com/hibernate/hibernate-orm/commit/4324509a59c0f8e4e6e16ee...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-09 (Sun, 09 Jan 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/Comment.java
M hibernate-core/src/main/java/org/hibernate/annotations/Table.java
M hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/ColumnsBuilder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/EntityBinder.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/comment/CommentTest.java
Log Message:
-----------
allow @Comment to apply at the class level
yes, you can do it with the @Table annotation but this is nicer,
no good reason to not allow it