Jul 20th, 2007, 02:23 PM
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.