JPA: @Column(name="...") inspection does not work

Answered

IntelliJ inspection marks every JPA @Column "name" attribute as false positive (red underlined).

  • I'm using PostgreSQL. DataSource is assigned and refreshed.
  • The inspection generates a false negative if the "name" atrribute is an empty string
  • The inspection generates a false negative if the @Column annotation is omitted and the field names do not match
0

Please sign in to leave a comment.