@DbComment
Provides the ability to add DDL table comments
and column comments
.
Table comment
An example of a table comment.
@DbComment("External customers excluding prospects")
@Entity
@Table(name = "customer")
public class Customer {
Column comment
An example of a column comment.
@Entity
public class Event {
...
@DbComment("Event state set via workflow")
@Column(nullable = false)
private State state;