4.2 DatabaseExampleSource problem
Hi!
I've just upgraded to 4.2 and find that a DatabaseExampleSource that worked fine under 4.1 now produces the following error..
P Jul 16, 2008 2:43:53 PM: [Fatal] UserError occured in 1st application of DatabaseExampleSource (DatabaseExampleSource)
P Jul 16, 2008 2:43:53 PM: [Fatal] Process failed: Database error occured: The fetch size cannot be negative.
Furthermore if I use the configuration wizard no tables get picked up. I've tried both the MS and JTDS SQL drivers and get the same result. Does anybody know what causes this behaviour?
I've just upgraded to 4.2 and find that a DatabaseExampleSource that worked fine under 4.1 now produces the following error..
P Jul 16, 2008 2:43:53 PM: [Fatal] UserError occured in 1st application of DatabaseExampleSource (DatabaseExampleSource)
P Jul 16, 2008 2:43:53 PM: [Fatal] Process failed: Database error occured: The fetch size cannot be negative.
Furthermore if I use the configuration wizard no tables get picked up. I've tried both the MS and JTDS SQL drivers and get the same result. Does anybody know what causes this behaviour?
Find more posts tagged with
Sort by:
1 - 7 of
71
I hit the same problem with PostgreSQL today. Obviously, a MySQL specific hack leaked into the DatabaseHandler class. The fetch size is set to Integer.MIN_VALUE unconditionally. However, this is a very MySQL specific way to tell the JDBC driver not to fetch the entire result set and I would suspect DatabaseExampleSource to break on anything but MySQL.