"loubyansky" wrote : You can ORDER BY fields that are in SELECT, i.e. in your case 
ORDER BY name. It's bug. There is no reason for this limitation. It's now fixed.
  | 
  | Index: JDBCEJBQLCompiler.java
  |   | ===================================================================
  |   | RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCEJBQLCompiler.java,v
  |   | retrieving revision 1.10.2.48
  |   | diff -r1.10.2.48 JDBCEJBQLCompiler.java
  |   | 1829,1832d1828
  |   | <       else
  |   | <       {
  |   | <          throw new IllegalStateException("Unexpected select object: " + 
selectObject);
  |   | <       }

I had the same problem and downloaded 3.2.6RC1 and compiled it.
The problem remained.
Then I looked up JDBCEJBQLCompiler.java and found out the throw is still in there.

My problem was solved when I removed the lines with the throw and recompiled.
:-) Now it's working ...

I'm wondering, aren't the snapshots from CVS up to date?

regards



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844896#3844896

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844896


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to