Column names in hbm.xml

When i added a field in my pojo class, with name xMoveCompatibleItem and I used eclipse’s inbuilt feature to generate getter and setter methods

Eclipse generated methods with the following names:
getXMoveCompatible()
setXMoveCompatible(String)

Note that X and M are both capital and consecutive, which was creating a problem for weblogic. It was not able to find the getter method for that property.

Do take care while adding a property, if the second letter of the property name is in CAPITAL

Leave a Reply