Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

throw MySQLSyntaxErrorException, when execute query join #3

Open
s90198123 opened this issue Sep 17, 2011 · 1 comment
Open

throw MySQLSyntaxErrorException, when execute query join #3

s90198123 opened this issue Sep 17, 2011 · 1 comment

Comments

@s90198123
Copy link

Exception Detail

SienaException occured : com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 2147483647 OFFSET 0' at line 1

Code

when execute query join

Model.all(Event.class).join("type").fetch()

it throw MySQLSyntaxErrorException
and...

Model.all(Event.class).join("type").fetch(10)
Model.all(Event.class).join("type").fetch(0, 10)

wont fix the problem too

ENV Version

MySQL 5.1.49
siena 2.0.5
play 1.2.3

@mandubian
Copy link
Owner

Sorry I had forgotten this issue! I'll consider it asap!
Thanks
Pascal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants