Subject | Re: [IB-Java] Re: JDBC connections again |
---|---|
Author | Massimo Ferrari |
Post date | 2001-11-25T10:16:05Z |
> 2) Using Firebird-Built Interclient, it does not work with BorlandI'm successfully using Firebird RC1 and Interclient/Interserver 2.01
> InterServer
available at
http://sourceforge.net/project/showfiles.php?group_id=9028&release_id=61411
> 3) Using Firbird jdbc 4 driver, it does work with dataSource for bothWith a 'patch' suggested by Roman I could get it to work properly even with
> databases, but not with any database pooling such as the open source
> one from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/poolman/
a connection pool.
Here the patch to fix the autocommit issue:
FBStatement.execute(String) (latest CVS source line 396) after the
catch(...) {
...
}
add
finally {
if (c.getAutoCommit())
c.commit();
}
Massimo