db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@debrunners.com>
Subject Re: Possible bug in PreparedStatement ?
Date Mon, 12 Dec 2005 02:11:54 GMT
Thomas Dudziak wrote:

> While sitting here with Jean at the Hackathon and adding support for
> Derby to OJB, I stumbled across a strange exception that might perhaps
> be a bug. In short, OJB generates some SQL like this (don't ask):
> 
> SELECT A0.TASK_ID,A0.PERSON_ID,A0.PROJECT_ID,A0.TASKNAME FROM TASK A0
> WHERE (A0.PERSON_ID = ?) AND A0.PROJECT_ID = ? OR  ((A0.PERSON_ID = ?)
> AND A0.PROJECT_ID = ?) OR  ((A0.PERSON_ID = ?) AND A0.PROJECT_ID = ?)
> OR  ((A0.PERSON_ID = ?) AND A0.PROJECT_ID = ?) OR  ((A0.PERSON_ID = ?)
> AND A0.PROJECT_ID = ?) OR  ((A0.PERSON_ID = ?) AND A0.PROJECT_ID = ?)


This is the same as DERBY-732

http://issues.apache.org/jira/browse/DERBY-732

There have been some fixes to up the limit in the trunk,
see the sub-task list for 732.

Dan.


Mime
View raw message