HibernateException « Property « JPA Q&A





1. org.hibernate.HibernateException: Unable to resolve property    forum.hibernate.org

Newbie Joined: Fri Apr 16, 2010 11:29 am Posts: 5 I'm using Criteria-based querying to load a list of objects, based on a property of a linked object. I have EventResponses (key: eventResponseId), which are triggered by an AlertTrigger (key: alertTriggerId), which in turn has a field userId. My query looks up event responses for a specific user. The exception thrown ...

2. net.sf.hibernate.HibernateException: unmapped property    forum.hibernate.org

Author Message spiritmech Post subject: net.sf.hibernate.HibernateException: unmapped property Posted: Mon May 03, 2004 2:56 pm Beginner Joined: Mon Sep 29, 2003 2:18 pm Posts: 20 Here is the code between opensession and closesession: public void updatePatientHistory(CaseStudyPatientHistory ph) throws PETCTTutorXAException, RemoteException { try { Session session = HibernateUtil.currentSession(); session.save(ph); session.flush(); HibernateUtil.closeSession(); } catch (HibernateException e) { e.printStackTrace(); throw new PETCTTutorXAException("Unable ...