[squeak-dev] Using SQLite3 package

Giuseppe Luigi Punzi glpunzi at lordzealon.com
Mon Mar 3 16:24:36 UTC 2008


Hi list,

At the moment, I need to "talk" with some M$Access and SQLITE DB. With ODBC from Diego Gomez Deck, seems to work like a charm with this 2 DB's, but I found SQLITE3 package on squeakmap: http://map.squeak.org/package/b396aec0-e9cd-4e70-8746-eb38284f75af and I thought it is better to avoid ODBC use.

I loaded it in my testing image (now 3.9.1), but when I try to evaluate this block(1) I get an error. "Error: Unable to find function address"

|con s1 s2 s3 |
con := SQLiteConnection fileNamed: 'E:\Desarrollo\InciGestFPC\datos.s3db'.
con inspect.
s1 := 'create table employee (id, name)'.
s2 := 'insert into employee values (1, ''Adam'')'.
s3 := 'insert into employee values (2, ''Eve'')'.
(Array
with: s1
with: s2
with: s3)
do: [:sql | con executeQuery: sql].

SqueakLog is attached.

Thanks for your help and time.

-- 
Giuseppe Luigi Punzi <glpunzi at lordzealon.com> 
<http://www.lordzealon.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SqueakDebug.log
Type: application/octet-stream
Size: 4131 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080303/10495bba/SqueakDebug.obj


More information about the Squeak-dev mailing list