ODBC framework for Pharo based on Dolphin Smalltalk's Database Connection package.
Thanks to InfOil for supporting this project.
Metacello new
repository: 'github://pharo-rdbms/Pharo-ODBC/src';
baseline: 'ODBC';
load
- hit WINDOWS-KEY + R for "Run" command panel
- Type, in the run command, the following depending on your system:
- For 32-bit operating systems: ODBCAD32.
- For 64-bit operating systems:
32 bit panel
%windir%\syswow64\odbcad32.exe
64 bit panel
%windir%\system32\odbcad32.exe
- Click OK.
On non-Windows platforms you will also need to install an appropriate ODBC Driver Manager:
- see iODBC
- see unixODBC
sudo apt-get install unixodbc unixodbc-dev
- See the Database Connection section in the Dolphin Smalltalk Education Center
- Note that in Pharo-ODBC, Dolphin classes prefixed
DB
are now prefixedODBC
. For exampleDBConnection
becomesODBCConnection
. Method names remain the same. - Another source of Database Connection documentation
The folder test-resources contains compressed files required by the unit tests - northwind.mdb (Access) and northwind.sql (SQL Server). Unpack these to the root image directory to run the tests (see test classes for further info).
MIT Licence.
Dolphin Smalltalk Copyright (c) 2015 Object Arts
Dolphin Smalltalk ODBC Database Connection Package Copyright (c) Object Arts Ltd, 1997-2003. Portions copyright CGI Group (Europe) Ltd, 1997.