-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Why does DynamicComponentType.isComponentType return false?
PostPosted: Tue Mar 16, 2004 6:33 am 
Newbie

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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 17, 2004 10:27 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Can you post it to Jira with an simple offending testcase, please ?

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.