db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mamta Satoor <ma...@Remulak.Net>
Subject [PATCH] (DERBY-66) Derby supports open cursor acrosscommits and hence DatabaseMetaData.supportsOpenCursorsAcrossCommit return true.
Date Tue, 18 Jan 2005 21:45:18 GMT
If the attached patch looks good, can one of the commiters commit it?

Mamta Satoor wrote:

>
> Here is a simple patch for the bug. Please review, comment/vote on it.
>
> thanks,
> Mamta
>
> > > Shreyas Kaushik (JIRA) wrote:
> > > >      [ http://nagoya.apache.org/jira/browse/DERBY-66?page=comments#action_57008
]
> > > >
> > > > Shreyas Kaushik commented on DERBY-66:
> > > > --------------------------------------
> > > >
> > > > I think it's the other way around. As the JDBC api says "Retrieves whether
this database supports keeping cursors open across commits" it is the property of the database.
> > > >
> > > > Since Derby can have cursors that are open across commits it should return
true.
> > > >
> > > > To be even precise, when creating a ResultSet handle that needs to have
cursors open across commits, a check on whether the underlying Database supports such a holdability
has to be checked.
> > > >
> > > >



Mime
View raw message