Beginner |
|
Joined: Thu May 17, 2007 2:41 pm Posts: 48
|
I have a String field sIC_Code with getter and setter
getSIC_Code() and setSIC_Code(String c)
I do believe this meets the java bean standard. But when plugged into hbm
<property name="sIC_Code" column="SIC_CODE" />
hibernate complains that it can not find the getter. I had to do a workaround changing the name to sicCode, getSicCode() to get it to work.
how did the name confuse hibernate? Is this an error? I prefer not to have to restrict naming format.
|
|