Jump to content

postgres connection persistence issue


xad

Recommended Posts

Hi all, I'm using a JDNI connnection to postgres so that I can access a stored procedure. The problem is that I'm using postgres 7.4 which has issues with temp tables and persistent connections. What I need to do is basically disconnect after exach query. How do I go about that?

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

The connections are pooled in JasperServer either by JasperServer if it is a JDBC data source, or by the app server if you are using JNDI.

Do you need to not pool? If so, you are going to need to create a custom data source. You can base it on the existing JDBC data source code, but create and destory a new connection each time.

 

 

Sherman

Jaspersoft

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...