-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: PropertyNotFound Exception by weblogic when new column added
PostPosted: Tue Oct 09, 2012 12:53 am 
Newbie

Joined: Tue Oct 09, 2012 12:28 am
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.