Hi,
I have added a new column in a particular table and the corresponding mappinng in the HBM and pojo is defined as under
Code:
<property name="csdNoniestWtrMark" type="string">
<column name="CSD_NON_IEST_CHECK" length="2"/>
</property>
and
Code:
private String csdNonIestCheck;
public void setCsdNonIestCheck(String csdNonIestCheck) {
this.csdNonIestCheck = csdNonIestCheck;
}
public String getCsdNonIestCheck() {
return this.csdNonIestCheck;
}
Also these are defined in the constructor as well.
When we are packaging it in a EAR and deploying it in weblogic 9.2 server, two instances are behaving differently. While one weblogic server instance is running smoothly and able to fetch and save into the field, the second instance is not able to map the pojo and hibernate configuration. It is giving the following error
Code:
19:51:27,406 INFO SessionFactoryImpl:154 - building session factory
%%%% Error Creating SessionFactory %%% % org.hibernate.PropertyNotFoundException: Could not find a getter for csdNonIestCheck in class com.abc.PropertyTable
I have already restarted the server several times and rebuilt the ear an redeployed. Can someone kindly throw some light on this?
Thanks
Dipanjan