-->
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: ..hql.parser erro :(
PostPosted: Mon Jul 11, 2005 8:17 am 
Beginner
Beginner

Joined: Fri Jun 10, 2005 11:51 pm
Posts: 45
Anyone can help me because im trying to page the result of the database with the LIMIT function but there is a erroR:

6391 [http-8080-Processor25] ERROR hql.parser - *** ERROR: line 1:43: unexpected token: LIMIT

im using MySQL 3.28.53


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 11, 2005 9:23 am 
Expert
Expert

Joined: Thu Dec 04, 2003 12:36 pm
Posts: 275
Location: Bielefeld, Germany
There is no LIMIT keyword in HQL. Read the manual.

query.setMaxResults();


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.