Re: java.lang.OutOfMemoryError

From: snpe <snpe(at)snpe(dot)co(dot)yu>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: java.lang.OutOfMemoryError
Date: 2003-02-05 20:58:10
Message-ID: 200302052058.10354.snpe@snpe.co.yu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Wednesday 05 February 2003 19:21, Barry Lind wrote:
> snpe wrote:
> > But, I can't commit or rollback, does it ?
> > If I have to care for query, commit or rollback I can simple use declare
> > cursor and I am sure what I do.
> > I think that is only solution - cursor out of a transaction.
> > It shouldn't be problem with MVC.
> > Oracle have cursor out of a transaction and OLTP systems with tousend
> > user. It isn't possible any multi database project without this features
> >
> > Thanks Barry
> > Haris Peco
>
> The fact that cursors are constrained to a single transaction is not a
> jdbc issue. That is how postgresql works on the server. If you want
> that behavior changed, then this is the wrong email list to make those
> requests. Better yet, since this is open source code, the best way to
> get anything changed is to code the changes yourself and submit them
> back to the community.
>
> That being said, it is certainly within the jdbc spec for cursors not to
> extend across transactions. That is why the meta data classes have
> methods for the client to inquire if the server supports cursors across
> transactions.
>
> thanks,
> --Barry

Hello Barry,
I know that isn't jdbc issue and I don't know postgresql internal that I send patch
for this - when I can do this that mena to much change in postgresql - in postgresql
tansaction begin with select command (without change in database) and that is problem
in cursors - I don't know why

Thanks
Haris Peco

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2003-02-06 00:26:08 Re: moveToInsertRow SQL Exception "No Primary Keys"
Previous Message Dave Cramer 2003-02-05 20:14:19 Re: moveToInsertRow SQL Exception "No Primary Keys"