Link to home
Start Free TrialLog in
Avatar of tesmc
tesmcFlag for United States of America

asked on

PropertyNotFoundException error

whenever i try to create a session like
Session session = HibernateSessionFactory.currentSession();
I get the following message when debugging

net.sf.hibernate.PropertyNotFoundException: Could not find a getter for iFSD in class aero.schema.DefectReport

I checked aero.schema.DefectReport and it does a function called getIFSD and setIFSD, so i don't understand, what else it could be
Avatar of StillUnAware
StillUnAware
Flag of Lithuania image

maybe the functions are private, or You are actually using some older version without noticing it
ASKER CERTIFIED SOLUTION
Avatar of zzynx
zzynx
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Run

javap aero.schema.DefectReport | find "getIFSD"

(assuming Windows and classpath same as Hibernate's)
javap aero.schema.DefectReport | find /I "getIFSD"

might be better. No output means no method

Avatar of tesmc

ASKER

i changed the upper case to lower case and it works now. thanks
:°)