Menu

Code generation also for Python

SPWrapper is a source code generator whose input is a SQL statement, or with some limitations the name of a stored procedure.
Each SQL statement become a Java class, iterable to fetch results if the statement is a SELECT. With this release it is also possible to generate Python classes for the cx_Oracle module.
SPWrapper is designed to require little configuration: it tries to automatically guess input parameters form SQL code, and output parameters from the SQL result set fetched. All the SQL statements can be translated to source code, even those with proprietary syntax.
Currently support four databases for Java (Oracle, Postgresql, mysql and sqlserver) and Oracle with Python.
enjoy!

Posted by Giovanni 2008-03-06

Log in to post a comment.

MongoDB Logo MongoDB