Skip to content

throw MySQLSyntaxErrorException, when execute query join #3

Description

@s90198123

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions