[ANN] DatabaseLayer 1.7.1 Release

joseph.blough at thomson.com joseph.blough at thomson.com
Wed Apr 4 02:33:53 PDT 2007


DatabaseLayer is a wxCode library written to offer a JDBC-like API to
database access.  For a summary of the functionality offered by
DatabaseLayer, visit
http://wxcode.sourceforge.net/docs/databaselayer/summary.html.  The main
web page is located at
http://wxcode.sourceforge.net/docs/databaselayer/.  At this time, the
supported database backends are SQLite, Firebird, PostgreSQL, MySQL,
ODBC, Oracle (partial), and TDS (which includes MS SQL Server and Sybase
- both partially supported).

Changes in the 1.7.1 release:

 New API:
   DatabaseLayer
     IsOpen - Determine if a database connection is open
     GetSingleResult* - Return a single field value
     GetSingleResultsArray* - Return a single field for multiple records
   PreparedStatement
     Added a second form of SetParamBlob that accepts a wxMemoryBuffer
parameter

 Fixes for MySQL and PostgreSQL
 Use the new SQLite prepare statement function if available

Credits:
 Guru Kathiresan - Added database single result retrieval API
 M. Szeftel (author of wxActiveRecordGenerator) - API enhancements and
bakefile rewrite
 Manianis (from wxForum) - MySQL testing on opening and closing the
database which resulted in memory leak fixes
 TbirdBear (from wxForum) - MySQL testing of stored procedures returning
result sets


P.S. - The 1.7.0 release from 3/31/2007 had issues when encoding
non-UTF8 strings to UTF8 strings in wxWidgets ANSI builds.  The 1.7.1
release should fix this issue.




More information about the wx-users mailing list