BasicPropertyAccessor « Property « JPA Q&A





1. Exception hibernate.property.BasicPropertyAccessor$BasicGett    forum.hibernate.org

Newbie Joined: Mon Mar 14, 2011 2:04 am Posts: 1 When I trying to save my transaction then I have got below exception : I am not getting why this exception came. Please help me to solve this exception : org.hibernate.property.BasicPropertyAccessor$BasicGetter get SEVERE: IllegalArgumentException in class: Beans.CutomerOrderDetails, getter method of property: cutomerOrderDetailsId org.hibernate.PropertyAccessException: IllegalArgumentException occurred calling getter of Beans.CutomerOrderDetails.cutomerOrderDetailsId at org.hibernate.property.BasicPropertyAccessor$BasicGetter.get(BasicPropertyAccessor.java:171) ...

2. Vague Error: [org.hibernate.property.BasicPropertyAccessor]    forum.hibernate.org

Hibernate version: 3.x Code between sessionFactory.openSession() and session.close(): Using JBoss Name and version of the database you are using: Sybase 12.x Error: 2006-07-25 11:24:34,375 ERROR [org.hibernate.property.BasicPropertyAccessor] IllegalArgumentException in class: us.tx.state.oag.WfPersonnelAction.hbm.HbmWfPaCodeActionStatusTable, getter method of property: ActionStatusId Mapping documents: Master Table mapping:

3. org.hibernate.property.BasicPropertyAccessor    forum.hibernate.org

I have this code: String hql ="from LanguageTranslation ltrans left join fetch ltrans.language_id where ltrans.keylabel = :keylabel and ltrans.language_id =:langID"; Query query = session.createQuery(hql); query.setParameter("keylabel",key_label); query.setParameter("langID", new Integer(languageID)); lTrans = (LanguageTranslation)query.uniqueResult(); Hibernate.initialize(lTrans.getTranslated_text()); session.getTransaction().commit(); s there something wrong with the syntax? Why am i having this error?: org.hibernate.property.BasicPropertyAccessor SEVERE: IllegalArgumentException in class: com.ibm.pli.databeans.Language, getter method of property: language_id Exception in thread "main" ...