From haraldarminmassa at gmail.com Mon Mar 5 15:40:14 2007 From: haraldarminmassa at gmail.com (Harald Armin Massa) Date: Mon, 5 Mar 2007 15:40:14 +0100 Subject: [DB-SIG] cx_Oracle: Out-Var with type Record Message-ID: <7be3f35d0703050640v571a31b0m4e79a7fc982511f6@mail.gmail.com> Hello, I am trying to access some PLSQL-Function with Output-Variables of type RECORD. It was perfectly possible to access information when the type was numeric oder string, by cn=cx_Oracle.connect(...) cs=cn.cursor() n=cs.var(cx_Oracle.NUMERIC) cx.callproc("whatever",cx_Oracle.NUMERIC,[n]) n.getvalue() but now the return of whateverrecord is RECORD ... what can I do? Harald -- GHUM Harald Massa persuadere et programmare Harald Armin Massa Reinsburgstra?e 202b 70197 Stuttgart 0173/9409607 fx 01212-5-13695179 - Python: the only language with more web frameworks than keywords. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/db-sig/attachments/20070305/2379c7c0/attachment.html From anthony.tuininga at gmail.com Thu Mar 8 06:21:46 2007 From: anthony.tuininga at gmail.com (Anthony Tuininga) Date: Wed, 7 Mar 2007 22:21:46 -0700 Subject: [DB-SIG] cx_Oracle 4.3 Message-ID: <703ae56b0703072121h715e3135u5a182066c6edfed6@mail.gmail.com> What is cx_Oracle? cx_Oracle is a Python extension module that allows access to Oracle and conforms to the Python database API 2.0 specifications with a few exceptions. Where do I get it? http://starship.python.net/crew/atuining What's new? 1) Added preliminary support for fetching Oracle objects (SQL types) as requested by Kristof Beyls (who kindly provided an initial patch). Additional work needs to be done to support binding and updating objects but the basic structure is now in place. 2) Added connection.maxBytesPerCharacter which indicates the maximum number of bytes each character can use; use this value to also determine the size of local buffers in order to handle discrepancies between the client character set and the server character set. Thanks to Andreas Mock for providing the initial patch and working with me to resolve this issue. 3) Added support for querying native floats in Oracle 10g as requested by Danny Boxhoorn. 4) Add support for temporary LOB variables created via PL/SQL instead of only directly by cx_Oracle; thanks to Henning von Bargen for discovering this problem. 5) Added support for specifying variable types using the builtin types int, float, str and datetime.date which allows for finer control of what type of Python object is returned from cursor.callfunc() for example. 6) Added support for passing booleans to callproc() and callfunc() as requested by Anana Aiyer. 7) Fixed support for 64-bit environments in Python 2.5. 8) Thanks to Filip Ballegeer and a number of his co-workers, an intermittent crash was tracked down; specifically, if a connection is closed, then the call to OCIStmtRelease() will free memory twice. Preventing the call when the connection is closed solves the problem. Anthony Tuininga From phd at phd.pp.ru Mon Mar 19 17:40:26 2007 From: phd at phd.pp.ru (Oleg Broytmann) Date: Mon, 19 Mar 2007 19:40:26 +0300 Subject: [DB-SIG] SQLObject 0.7.4 Message-ID: <20070319164026.GC32328@phd.pp.ru> Hello! I'm pleased to announce the 0.7.4 release of SQLObject. What is SQLObject ================= SQLObject is an object-relational mapper. Your database tables are described as classes, and rows are instances of those classes. SQLObject is meant to be easy to use and quick to get started with. SQLObject supports a number of backends: MySQL, PostgreSQL, SQLite, and Firebird. It also has newly added support for Sybase, MSSQL and MaxDB (also known as SAPDB). Where is SQLObject ================== Site: http://sqlobject.org Mailing list: https://lists.sourceforge.net/mailman/listinfo/sqlobject-discuss Archives: http://news.gmane.org/gmane.comp.python.sqlobject Download: http://cheeseshop.python.org/pypi/SQLObject/0.7.4 News and changes: http://sqlobject.org/docs/News.html What's New ========== News since 0.7.3 ---------------- * Documentation updates Small Features -------------- * For MySQLdb 1.2.2+ call ping(True) on the connection to allow autoreconnect after a timeout. Bug Fixes --------- * Another round of changes to create/drop the tables in the right order in the command-line client `sqlobject-admin`. * Fixed a bug in UnicodeField - allow comparison with None. For a more complete list, please see the news: http://sqlobject.org/docs/News.html Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru Programmers don't die, they just GOSUB without RETURN. From phd at phd.pp.ru Mon Mar 19 18:03:22 2007 From: phd at phd.pp.ru (Oleg Broytmann) Date: Mon, 19 Mar 2007 20:03:22 +0300 Subject: [DB-SIG] SQLObject 0.8.1 Message-ID: <20070319170322.GC870@phd.pp.ru> Hello! I'm pleased to announce the 0.8.1 release of SQLObject. What is SQLObject ================= SQLObject is an object-relational mapper. Your database tables are described as classes, and rows are instances of those classes. SQLObject is meant to be easy to use and quick to get started with. SQLObject supports a number of backends: MySQL, PostgreSQL, SQLite, and Firebird. It also has newly added support for Sybase, MSSQL and MaxDB (also known as SAPDB). Where is SQLObject ================== Site: http://sqlobject.org Development: http://sqlobject.org/devel/ Mailing list: https://lists.sourceforge.net/mailman/listinfo/sqlobject-discuss Archives: http://news.gmane.org/gmane.comp.python.sqlobject Download: http://cheeseshop.python.org/pypi/SQLObject/0.8.1 News and changes: http://sqlobject.org/News.html What's New ========== News since 0.8.0 ---------------- * Documentation updates Small Features -------------- * For MySQLdb 1.2.2+ call ping(True) on the connection to allow autoreconnect after a timeout. Bug Fixes --------- * Another round of changes to create/drop the tables in the right order in the command-line client `sqlobject-admin`. * Fixed a bug in UnicodeField - allow comparison with None. * ID columns are reverted back from INT UNSIGNED to INT for MySQL to be in accord with FOREIGN KEYs. * Fixed return value from Firebird/MaxdbConnection.createTable(). * Fixed and simplified DatabaseIndex.get(). * Fixed ConnectionHub.doInTransaction() - close low-level connection on commit() to prevent connections leaking. For a more complete list, please see the news: http://sqlobject.org/News.html Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru Programmers don't die, they just GOSUB without RETURN. From gldnspud at gmail.com Wed Mar 21 20:07:36 2007 From: gldnspud at gmail.com (Matthew Scott) Date: Wed, 21 Mar 2007 14:07:36 -0500 Subject: [DB-SIG] ANN: Schevo 3.0 Message-ID: Orbtech, L.L.C. and the Schevo team are pleased to announce the availability of Schevo version 3.0. After nearly two years of refinement, the third generation of Schevo, a next-generation DBMS for Python, has been deemed ready to be stripped of "beta" status. Don't let that fool you though: Schevo has been in production use during that entire time as its development is driven by real-world use cases. Get started with Schevo right away: http://schevo.org/wiki/SchevoGettingStarted Learn more about Schevo and related projects: http://schevo.org/ What is Schevo? Rapid Development: It's easy and fun to create even the most complex of databases. Easily write and understand schema syntax. Quickly place required initial data directly in your schema; use the same syntax to create sets of sample data for development use. Rich Schema Definition: Write database schemata using concise, easy-to-read Python code. Your schema will describe not only database structure, but also all transactions and rules that ensure database integrity. Automated Schema Evolution: Deploy a Schevo database and use it to store valuable data, then easily make further changes to the structure of the database. Use Schevo's tools to help restructure a database and safely migrate data from one schema version to the next. Transaction Based: Schevo protects your data. Use transactions to make all changes to a Schevo database (it's the only way it allows you to!), and you can trust Schevo to ensure that your database is left in a consistent state at all times. User Interface Generation: User interface code takes advantage of the richness of your database schema. Use a full-featured database navigator to interact with your database without writing a single line of code outside your database schema. Build customized UIs using Schevo-aware widgets and UI tools. -- Matthew R. Scott From joril at havens.elvenkingdom.mid Sun Mar 25 14:06:46 2007 From: joril at havens.elvenkingdom.mid (Joril) Date: Sun, 25 Mar 2007 14:06:46 +0200 Subject: [DB-SIG] DejaVu mailing list Message-ID: <20070325140646.52f77a91.joril@havens.elvenkingdom.mid> Hi everyone! I'm sorry, does anybody know if the DejaVu ML is still active? I tried to send a question there but it bounced back saying I "do not have permission to post to group dejavu-users", even if you *have* to join before Google Groups lets you post.. So I tried to contact the owner, but no answer after one week.. Thanks for your attention! From fumanchu at amor.org Sun Mar 25 16:35:34 2007 From: fumanchu at amor.org (Robert Brewer) Date: Sun, 25 Mar 2007 07:35:34 -0700 Subject: [DB-SIG] DejaVu mailing list References: <20070325140646.52f77a91.joril@havens.elvenkingdom.mid> Message-ID: <435DF58A933BA74397B42CDEB8145A86224D6C@ex9.hostedexchange.local> Joril wrote: > I'm sorry, does anybody know if the DejaVu ML > is still active? I tried to send a question > there but it bounced back saying I "do not > have permission to post to group dejavu-users", > even if you *have* to join before Google Groups > lets you post.. So I tried to contact the owner, > but no answer after one week.. I'm the owner, and Google's telling me members have the right to post. So that's odd on both counts. Feel free to email me questions personally. You can also find me on the #cherrypy channel at oftc.net most days. Robert Brewer System Architect Amor Ministries fumanchu at amor.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/db-sig/attachments/20070325/2f08c9dd/attachment.html