For some classes I get this error for loading data from query with Hibernate:
"org.hibernate.QueryException: could not resolve property: null of: ......
at org.hibernate.persister.entity.AbstractPropertyMapping.propertyException(AbstractPropertyMapping.java:81)
at org.hibernate.persister.entity.AbstractPropertyMapping.toType(AbstractPropertyMapping.java:75)
at org.hibernate.persister.entity.AbstractEntityPersister.getPropertyType(AbstractEntityPersister.java:3697)
at org.openswing.swing.util.server.HibernateUtils.fillInMetaData(HibernateUtils.java:171)
at org.openswing.swing.util.server.HibernateUtils.applyFiltersAndSorter(HibernateUtils.java:267)
at org.openswing.swing.util.server.HibernateUtils.getAllFromQuery(HibernateUtils.java:535)
at org.openswing.swing.util.server.HibernateUtils.getAllFromQuery(HibernateUtils.java:585)
"
This exception appears for attribute which represents entity with composite key. For such entities method ClassMetadata.getIdentifierPropertyName() returns null.
Hello there, just became alert to your blog through Google, and found that it is truly informative. Ill be grateful if you continue this in future. Many people will benefit from your writing. Cheers!
<a href="http://www.kb46.com/activity/p/256181/" title="Modest Cocktail Dress Is the Permanent Leader in Frugal Fashion">Modest Cocktail Dress Is the Permanent Leader in Frugal Fashion</a>