rxue / dictionary

Practice in Java EE
0 stars 0 forks source link

dictionary/jpa : sub-task of #113 : make creationdate inserted automatically #114

Closed rxue closed 9 months ago

rxue commented 9 months ago

Conclusion and note!

The @Column is forced to be added to AbstractEntity 's field and getter method. Adding @Column merely onto the fields or merely onto the getter methods causes either the Explanation or LexicalItem table's column name just the same as the field name, naming the @Column annotion does not work in effect. This is probably due to the problem of Hibernate framework