Joined: Tue Oct 14, 2003 11:32 am Posts: 9 Location: Switzerland
|
Hi,
I have a class with a dynamic component. When I search for an object with a constraint to a 'dynamic attribute' in the where clause like:
from Listing as listing where listing.customAttributes.previousClose
I get:
QueryException: dereferenced: listing0_.customAttributes.previousClose
So I tried to debug Hibernate 2.1.2 and noticed that in PathExpressionParser.token() where dotcount>=2, propertyType.isComponentType() return false thus causing that exception (propertyType is an instance of DynamicPropertyType).
Is there something wrong?
Thank you
Massimo
|
|