I am using JDBC to connect my jython to a heterogeneous set of databases.
Using a cursor I get the rows in list form, and the cursor
also knows the metadata (cursor.description).
Usually you get a row as list as result of a query:
print resultlist(4)
And you have to know the order of the Columns in the schema beforehand.
How can I get something like
print resultset[CustomerName]
to print the name of a customer?
How about
dict_cursorfrom this question: Django Backend-neutral DictCursor?Outline of what works for me (Jython 2.5.2):