7 Jun 05:14
GSoC Weekly Report (#2): Django on Jython
From: Leo Soto M. <leo.soto <at> gmail.com>
Subject: GSoC Weekly Report (#2): Django on Jython
Newsgroups: gmane.comp.lang.jython.devel
Date: 2008-06-07 03:16:02 GMT
Subject: GSoC Weekly Report (#2): Django on Jython
Newsgroups: gmane.comp.lang.jython.devel
Date: 2008-06-07 03:16:02 GMT
Hi again! So another week has passed and more progress has be done :) Basically, every problem found with the postgresql_zxjdbc driver which would also be a problem with other *_zxjdbc driver (mysql, oracle, etc) has been fixed on the proper place. On my jython.doj branch, zxJDBC automatically maps dates and times between Java and Python. And my django.doj branch worked around the problems found with respect to dates, times, booleans and even integers parameters being converted to strings before passed to the backend (JDBC didn't liked that). The missing bit is timezone support. I plan to add that really soon. Bottom line: creating an oracle and/or mysql backend for django/jython should be easiest now. I may even give them a shot next week. However, I have other goals too (see below), so this may have to wait a bit. With respect to particular issues with postgresql_zxjdbc, I wasn't able to solve the JDBC mapping for inet types. The PostgrSQL JDBC driver doesn't like String instances as values for them. As as workaround, now IPAddressFields are mapped to CHAR(15), which makes us incompatible with tables created with CPython/Django/psycopg containing inet values. As I've found some JDBC driver extensions[1] that could help here, not everything is lost yet. The goal for the next week is to pass the test suite. I advanced a bit the last couple of days, and now the failure count is around 25 (from ~35 which was our previous "record"). Now, I think that the goal is not going to be _strictly_ met, because(Continue reading)
RSS Feed