Subject Re: [Firebird-Java] Jasperreports with subreport and firebird
Author William L. Thomson Jr.
On Wed, 2007-03-28 at 21:08 +0200, Csaba Ragasits wrote:
> Hello,
>
> I'm using Firebird (1.5x), Jaybird(2.1.0), jasperreports(1.3.1) and
> iReport(1.3.1).
> When I create an single reports it's working well.But when I try do
> subreport, I've a following errors:
>
> Error filling print... Unable to get next record.

Update driver to 2.1.1, and see release notes about
Default holdable result sets (closed ResultSet in auto-commit mode)

setDefaultResultSetHoldable(boolean)

Don't have the specifics, maybe another will chime in with that. But
that will get you in the right direction, just have to do a bit of work
yourself ;)

Or if the application supports it, don't use the driver in auto commit
mode. But likely have to go with the above.

--
William L. Thomson Jr.
Gentoo/Java


[Non-text portions of this message have been removed]