tags:

views:

24

answers:

1

Is there any way to specify SQL comments through JPA annotations? Comments for tables and columns.

+3  A: 

Is there any way to specify SQL comments through JPA annotations? Comments for tables and columns.

No. If you want to define tables and columns comments, your best option is to do it after the facts in the generated DDL, before executing it against your database.

Pascal Thivent