DatabaseLink Release Notes

Welcome to DatabaseLink.

DatabaseLink is a Mathematica toolkit that provides a set of tools allowing convenient integration of Mathematica with database management systems. DatabaseLink exposes data to the vast world of analysis and visualization tools available in Mathematica, letting you use DatabaseLink to quickly develop or enhance any data-centric application by applying the world's foremost high-level analysis system to your data.

Implemented using JDBC, DatabaseLink can connect to most popular database systems, such as MySQL, Sybase, Oracle, Microsoft SQL Server, PostgreSQL, Informix, and many more. Users familiar with SQL programming can take advantage of the full power of SQL by passing SQL commands directly to Mathematica functions. Prepared statements allow users to easily integrate SQL commands with Mathematica data.

Mathematica users will find jumping into the database world quite easy with DatabaseLink. A built-in database allows users to get acquainted with databases without needing to install a database server. Familiarity with SQL is not required, as Mathematica functions are available for querying the database. These queries allow users to manage tables and retrieve, update, and store data. The Database Explorer also provides a simple, easy-to-use interface for visually building queries.

DatabaseLink runs on Windows, Macintosh, Linux, and UNIX.

Please direct comments, questions, etc. to databaselink@wolfram.com.


Revision History

1.0.26/05Minor bug fixes.
1.0.11/05Minor bug fixes and SQLResultSet functionality.
1.0.011/04First release.


Changes in version 1.0.2

Changed the default ResultSet type to be ForwardOnly for non-ResultSet queries. This improves the speed of queries quite a bit.

Changed the default Timeout and MaxRows values. The old value caused problems with Oracle 10g connections.

Fixed a bug with SQLSelect that caused the wrong result when using x < SQLColumn < y and x > SQLColumn > y.

Added functionality for support for SQLSelect when using x <= SQLColumn <= y and x => SQLColumn => y.

Added code to limit the amount of time metadata is retrieved for a result set. This increases the speed of queries slightly.

Added code that enables the use of unsigned integers with MySQL.

Fixed a small bug that caused an error when receiving no results for a query using the ODBC driver.

Fixed a small bug that caused an error when receiving no results when using SQLResultSetRead.

Changes in version 1.0.1

Improved error messages for Java errors that do not have messages but rather define the error based on its class.

Fixed a bug that made SQLExpr data types expand very large within Java and often cause OutOfMemory errors. The fix involved converting SQLExpr data types into String within Mathematica. (SQLExpr data types are stored as strings within the database anyway.)

Added SQLResultSet functionality for customizing how result sets are processed.

Fixed a bug within jtds_sqlserver and jtds_sybase configuration files that caused problems opening connections using these JDBC driver configurations.

Fixed a bug that left Java statements open. These need to be closed to free resources for executing additional statements.

Fixed a bug in DatabaseExplorer that caused queries connected using the ODBC driver to fail because of an unsupported feature. The unsupported feature was the Timeout option. The Timeout option is no longer enabled when using the ODBC driver. So ODBC queries by default will now work, but without a timeout.

Fixed a bug in DatabaseExplorer that caused queries to fail if the Timeout option was not checked.

Fixed DatabaseExplorer to no longer use a blank status message. The blank message caused DatabaseExplorer to redo the layout and looked jerky.

Fixed a problem that prevented DatabaseResources such JDBCDrivers and SQLConnections from showing up in Linux in the functions JDBCDriverNames[], JDBCDrivers[], DataSourceNames[], and DataSources if the resource had extra carriage returns at the beginning of the file.

Changes in version 1.0.0

Initial Release.

Known issues in this release

None.