Open GoogleCodeExporter opened 9 years ago
This one is strange. I see nothing obviously wrong in the code. I will write a
little test to add to the large set of tests I currently have for LIMIT. I
can't do this immediately as my test ICAT is busy doing other things.
Original comment by dr.s.m.f...@gmail.com
on 11 Dec 2014 at 3:28
Wrong behaviour confirmed by test
Original comment by dr.s.m.f...@gmail.com
on 15 Dec 2014 at 10:15
This seems to be an eclipselink bug. With a similar query but restricting on
the name instead of the id the generated SQL includes a limit clause but in the
case of the id no such limit is generated. If you replace i.id = 22179 by i.id
in (22179) it works. It appears to be that selecting with equality on the
primary key is treated as a special case. I will see how it behaves with ORACLE
- the generated SQL must be different as ORACLE does not have a LIMIT keyword.
I could detect this special case in the code - I will bring it up at this
week's meeting.
Original comment by dr.s.m.f...@gmail.com
on 15 Dec 2014 at 11:37
The meeting decided that it should be fixed.
Original comment by dr.s.m.f...@gmail.com
on 18 Dec 2014 at 5:37
Original issue reported on code.google.com by
rolf.kr...@helmholtz-berlin.de
on 11 Dec 2014 at 1:23