jdbi vs mxODBC

dbtest.py

Jpython jdbicPython mxODBC
$ jpython dbtest.py
1.1
<module jdbi at 1332315180>
1.2
1
qmark
<jdbi.connection instance at 623739948>
<jdbi.cursor instance at -789740500>
-1
None
6
(('id', 4, 11, None, 11, 0, 0), ('test', 12, 255, None, 0, 0, 1))
(1, 'testing')
[(2, 'testing 2'), (3, 'testing 3')]
[(4, 'testing 4'), (5, 'testing 5'), (6, 'testing 6')]
[(1, 'testing')]
Time used: 1045 millis
$ python dbtest.py 
1.6a2 (#1, Jun 19 2000, 22:56:35)  [GCC 2.95.2 19991109 (Debian GNU/Linux)]
<module 'ODBC.MySQL' from '/usr/local/bin/../opt/python-cvs/lib/python1.6/site-packages/ODBC/MySQL/__init__.pyc'>
2.0
1
qmark
<MySQL ODBC Connection object at 81fbbc0>
<MySQL ODBC Cursor object at 820ca30>
0
None
6
(('id', 4, None, None, 1, 0, 0), ('test', 12, None, None, 9, 0, 1))
(1, 'testing')
[(2, 'testing 2'), (3, 'testing 3')]
[(4, 'testing 4'), (5, 'testing 5'), (6, 'testing 6')]
[(1, 'testing')]
Time used: 47 millis

Sverre Stoltenberg -- <sverres1@start.no>

$Id: test.html,v 1.1 2000/06/21 19:13:41 sverrest Exp $