Jump to content
We've recently updated our Privacy Statement, available here ×

Not closed SQL statements


Recommended Posts

By: Piotr Walczyszyn - pedrow

Not closed SQL statements

2003-10-24 08:24

Is there a way to force Jasper to close SQL statements after report is generated?

 

 

 

 

 

 

By: Peter Lamprecht - lampocello

RE: Not closed SQL statements

2003-11-20 00:15

Hi Piotr,

 

I think we do have a similar problem, but I am not sure, so I opened a new thread. (see: Warning statement left open).

 

Did you already solve your problem?

Do you have a good tip?

 

Thanks in advance,

Peter

 

 

 

 

 

By: Teodor Danciu - teodord

RE: Not closed SQL statements

2003-11-28 14:11

 

Hi,

 

JasperReports open an SQL statement of its own only

if a query string is provided and a Connection object.

If it creates this statement, it also closes it

after the report filling process ends.

 

However, I have to admit that this portion of

JasperReports needs a little refactoring as it is possible for the statements to remain open in

certain cases.

 

I'll do this refactoring for the next version and I hope

it will solve your problems.

 

Thank you,

Teodor

Link to comment
Share on other sites

  • 6 months later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi there,

 

I have set up a Database connection in iReport (via the Connections/Datasource section), and am calling a stored procedure within the report, but the connection doesn't seem to be closing. Is this because of the bug you mentioned, or is there a way to either force a connection to close or to pass the connection to the report so that i can close it.

 

Thanks

 

Harry

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...