BUG: AndroidCompiledStatement appends duplicate LIMIT

13 views
Skip to first unread message

Andrew Bowley

unread,
Aug 7, 2016, 9:25:19 PM8/7/16
to ORMLite Android Users
Hi

I have opened issue #71 on above subject.
An example of the error:

 Problems executing Android query: SELECT * FROM categories WHERE node_id = ? LIMIT 1 LIMIT 1

This happens when using DAO queryForFirst(). ormlite-core creates a statement with LIMIT 1 appended and then  AndroidCompiledStatement appends duplicate LIMIT 1.

This looks like a design issue, so I am not sure what fix to recommend.

Regards

Andrew
Reply all
Reply to author
Forward
0 new messages