Announcement Announcement Module
Collapse
No announcement yet.
weird behaviour when mapping classes using hibernate annotation Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • weird behaviour when mapping classes using hibernate annotation

    when i placed my annotation on top of my getter method, hibernate created a column name using the property name but when i placed my annotation on top of the property, hibernate created a column with the name that i specified using @Column(name = "some_column")

    this is really weird bcoz i have tried doing the same thing but without spring framework but i never encountered this weird behavior.

    i hope somebody clears if this is an issue with spring and hibernate.

    thanks in advance.


    reyjexter
Working...
X