[squeak-dev] Using SQLite3 package

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Using SQLite3 package

Giuseppe
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 <[hidden email]>
<http://www.lordzealon.com>



SqueakDebug.log (5K) Download Attachment