-->
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.  [ 3 posts ] 
Author Message
 Post subject: Sort on computed/formula properties - bug in 2.1.2 ?
PostPosted: Fri Feb 13, 2004 8:10 am 
Excerpt fom changelog.txt:

Code:
Changes in version 2.1 rc1 (29.11.2003)
---------------------------------------
* formula properties may now be used anywhere in queries


I am using version 2.1.2 and the sort does not seem to work with formula property ("runState" in my example) :

unresolved property: runState [FROM foo IN class be.cora.thema2.model.operation.Operation ORDER BY foo.runState]


Top
  
 
 Post subject:
PostPosted: Fri Feb 13, 2004 9:17 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
That syntax (FROM IN) is very deprecated. Try using the up to date query syntax used in the docs, and see if this works.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 13, 2004 9:37 am 
Shame on me, it is working - perfectly !
(another -older- "hibernate2.jar" file had the precedence in my classpath :-$)

Please ignore my post (and accept my apologies...)


Top
  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.