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:

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.