I just checked in a number of files for zxJDBC. Most of them are optimizing
the imports (removing all the .* imports) but I also upgraded the MySQL and
Postgresql DataHandlers. I added a new DataHandler called RowIdDataHandler
which uses reflection rather than casts to handle getting the row id; both
PostgresqlDataHandler and MySqlDataHandler subclass this new datahandler.
I tested with both jdk 1.3.1 and jdk 1.4 on Linux. The 1.4 works perfectly,
with 1.3.1 I get a ClassNotFoundException for java/sql/Savepoint when
reflecting on one the Connections from within Jython. Apparently the driver
I downloaded was compiled with 1.4 and included this code. This only occurs
in very outlier cases (testing the Fetch API from with Jython and outside of
a PyCursor) and I know of only one person other than myself who uses Fetch
natively so I'm not too worried about this test failing. That said I'll
investigate further. All other tests pass.
I'd appreciate it if someone else could compile and test zxJDBC from CVS. I
use it everyday and I find it stable but I'm interested in other's
While I have an audience, does anyone use Lib/dbexts.py or Lib/isql.py? I'd
like to remove them so I can rewrite them and I rather not maintain them
unless someone is using either or both. I'm just looking for feedback at
> -----Original Message-----
> From: Kevin Butler [mailto:jython-kbutler@...]
> Sent: Tuesday, April 08, 2003 9:57 AM
> To: jython-dev@...; brian zimmer
> Subject: zxJDBC & DB drivers, was: Re: [Jython-dev] Let's make an
> interim release
> Brian Zimmer wrote:
> > I'm all for making an interim release. Let me know if you have any
> > with zxJDBC or need any help. If you tag the repository I'll make sure
> > zxJDBC passes all the tests.
> Excellent - I don't think we're quite ready to tag yet (I'd like to go
> through the process of building an installable version).
> The only JDBC-related question I've got so far is, do we want to try to
> upgrade the various DB modules to more recent versions? Specifically,
> Jython won't compile with the most-recent PostgreSQL drivers or MySQL
> drivers (now "Connector/J as Martin Krueger pointed out).
> Would you like to upgrade those before a 2.2pre release, or release with
> the current versions for now? (I don't know how much work upgrading
> will be - simple matter of package names, or significant API changes?).