Folks -
Is anyone out there using Squeak with MySQL? If so, what are you using to connect the two? The only thing that I've found that looks remotely applicable is http://map.squeak.org/packagebyname/mysql but it looks rather outdated (last supported Squeak version appears to be 3.7) and it's licensed under GPL which is an issue.
Any pointers would be greatly welcome. Please note that I'm not looking for a persistence solution - I'm looking for something which I can use to dump a few entries into MySQL so that they can be digested elsewhere.
Thanks, - Andreas
Hi Andreas,
you can have a look at the GestionImmo project on SqueakSource. It's a Pier application which tries to map Magritte to Sql in a very simple way. Looking at the source code, I have a method:
GISql>>openConnection | spec | Socket initializeNetwork. spec := JdmConnectionSpec new initialize user: GIUser; password: GIPasswd; host: (NetNameResolver addressForName: GIHost); database: GIDataBase; port: GIPort. connection := JdmConnection on: spec.
I don't remember where JdmConnection comes from but you can probably find out by yourself.
On Wed, Jul 30, 2008 at 6:04 AM, Andreas Raab andreas.raab@gmx.de wrote:
Folks -
Is anyone out there using Squeak with MySQL? If so, what are you using to connect the two? The only thing that I've found that looks remotely applicable is http://map.squeak.org/packagebyname/mysql but it looks rather outdated (last supported Squeak version appears to be 3.7) and it's licensed under GPL which is an issue.
Any pointers would be greatly welcome. Please note that I'm not looking for a persistence solution - I'm looking for something which I can use to dump a few entries into MySQL so that they can be digested elsewhere.
Thanks,
- Andreas
Damien Cassou wrote:
Hi Andreas,
you can have a look at the GestionImmo project on SqueakSource. It's a Pier application which tries to map Magritte to Sql in a very simple way. Looking at the source code, I have a method:
GISql>>openConnection | spec | Socket initializeNetwork. spec := JdmConnectionSpec new initialize user: GIUser; password: GIPasswd; host: (NetNameResolver addressForName: GIHost); database: GIDataBase; port: GIPort. connection := JdmConnection on: spec.
I don't remember where JdmConnection comes from but you can probably find out by yourself.
It's from the package that Andreas was talking about (and that is also on SqueakSource).
Paolo
Well, you certainly can use "SqueakDBX" if you are not afraid of using a very-alpha state package. Oh, wait... the package is MIT licenced, but the library (opendbx) is LGPL, so maybe you have the same problem :)
Cheers, Esteban
On 2008-07-30 01:04:22 -0300, Andreas Raab andreas.raab@gmx.de said:
Folks -
Is anyone out there using Squeak with MySQL? If so, what are you using to connect the two? The only thing that I've found that looks remotely applicable is http://map.squeak.org/packagebyname/mysql but it looks rather outdated (last supported Squeak version appears to be 3.7) and it's licensed under GPL which is an issue.
Any pointers would be greatly welcome. Please note that I'm not looking for a persistence solution - I'm looking for something which I can use to dump a few entries into MySQL so that they can be digested elsewhere.
Thanks,
- Andreas
I don't want to sound stupid, but I use glorp for any database related things, but I don't think it is what you are looking for :)
On Wed, Jul 30, 2008 at 7:58 AM, Esteban Lorenzano estebanlm@gmail.comwrote:
Well, you certainly can use "SqueakDBX" if you are not afraid of using a very-alpha state package. Oh, wait... the package is MIT licenced, but the library (opendbx) is LGPL, so maybe you have the same problem :)
Cheers, Esteban
On 2008-07-30 01:04:22 -0300, Andreas Raab andreas.raab@gmx.de said:
Folks -
Is anyone out there using Squeak with MySQL? If so, what are you using to connect the two? The only thing that I've found that looks remotely applicable is http://map.squeak.org/packagebyname/mysql but it looks rather outdated (last supported Squeak version appears to be 3.7) and it's licensed under GPL which is an issue.
Any pointers would be greatly welcome. Please note that I'm not looking for a persistence solution - I'm looking for something which I can use to dump a few entries into MySQL so that they can be digested elsewhere.
Thanks,
- Andreas
Also ODBC permit to connect and send commands.
Cheers.
2008/7/30 Andreas Raab andreas.raab@gmx.de:
Folks -
Is anyone out there using Squeak with MySQL? If so, what are you using to connect the two? The only thing that I've found that looks remotely applicable is http://map.squeak.org/packagebyname/mysql but it looks rather outdated (last supported Squeak version appears to be 3.7) and it's licensed under GPL which is an issue.
Any pointers would be greatly welcome. Please note that I'm not looking for a persistence solution - I'm looking for something which I can use to dump a few entries into MySQL so that they can be digested elsewhere.
Thanks,
- Andreas
Germán Arduino wrote:
Also ODBC permit to connect and send commands.
Interesting - where is the code?
Cheers, - Andreas
Cheers.
2008/7/30 Andreas Raab andreas.raab@gmx.de:
Folks -
Is anyone out there using Squeak with MySQL? If so, what are you using to connect the two? The only thing that I've found that looks remotely applicable is http://map.squeak.org/packagebyname/mysql but it looks rather outdated (last supported Squeak version appears to be 3.7) and it's licensed under GPL which is an issue.
Any pointers would be greatly welcome. Please note that I'm not looking for a persistence solution - I'm looking for something which I can use to dump a few entries into MySQL so that they can be digested elsewhere.
Thanks,
- Andreas
Only install the ODBC package.
Some doc, here: http://wiki.squeak.org/squeak/2480
HTH. gsa.
2008/7/30 Andreas Raab andreas.raab@gmx.de:
Germán Arduino wrote:
Also ODBC permit to connect and send commands.
Interesting - where is the code?
Cheers,
- Andreas
Cheers.
2008/7/30 Andreas Raab andreas.raab@gmx.de:
Folks -
Is anyone out there using Squeak with MySQL? If so, what are you using to connect the two? The only thing that I've found that looks remotely applicable is http://map.squeak.org/packagebyname/mysql but it looks rather outdated (last supported Squeak version appears to be 3.7) and it's licensed under GPL which is an issue.
Any pointers would be greatly welcome. Please note that I'm not looking for a persistence solution - I'm looking for something which I can use to dump a few entries into MySQL so that they can be digested elsewhere.
Thanks,
- Andreas
Andreas Raab wrote:
Folks -
Is anyone out there using Squeak with MySQL? If so, what are you using to connect the two? The only thing that I've found that looks remotely applicable is http://map.squeak.org/packagebyname/mysql but it looks rather outdated (last supported Squeak version appears to be 3.7) and it's licensed under GPL which is an issue.
Any pointers would be greatly welcome. Please note that I'm not looking for a persistence solution - I'm looking for something which I can use to dump a few entries into MySQL so that they can be digested elsewhere.
Thanks,
- Andreas
Latest avaiable is in http://www.squeaksource.com/MySQL
I use it in combination with some classes in Magritte-RDB available from mc.lukas-renggli.ch/magritteaddons
regards
Keith
Keith Hodges wrote:
Latest avaiable is in http://www.squeaksource.com/MySQL
I use it in combination with some classes in Magritte-RDB available from mc.lukas-renggli.ch/magritteaddons
Thanks for the pointers. Unfortunately, it appears from SqueakMap that the driver is GPLed and since we sell our enterprise server solution this is a no-go. I think I'll go with ODBC.
Cheers, - Andreas
I would also recommend ODBCEnh, which lets you use DSN-less connections, and implements doesNotUnderstand to look for common types of field names in the collections it returns (so that ARecord firstName can find field names like "firstName, or "FIRST_NAME," etc...). The ODBC package is a change set, which, if I recall, loads some global constants and things which made the TimeStamp class not work in Aida, I think. Anyway, if you have problems, let me know; I have a version I patched many months ago which seems to work...although I didn't know enough at the time to turn it into a Monticello package and wrap ODBCEnh up with it!
Take care,
Rob
On Wed, Jul 30, 2008 at 12:33 PM, Andreas Raab andreas.raab@gmx.de wrote:
Keith Hodges wrote:
Latest avaiable is in http://www.squeaksource.com/MySQL
I use it in combination with some classes in Magritte-RDB available from mc.lukas-renggli.ch/magritteaddons
Thanks for the pointers. Unfortunately, it appears from SqueakMap that the driver is GPLed and since we sell our enterprise server solution this is a no-go. I think I'll go with ODBC.
Cheers,
- Andreas
We should joint efforts to have an up-to-date and complete ODBC package.
I can help with Monticello stuffs....
Let me know.
Cheers.
2008/7/30 Rob Rothwell r.j.rothwell@gmail.com:
I would also recommend ODBCEnh, which lets you use DSN-less connections, and implements doesNotUnderstand to look for common types of field names in the collections it returns (so that ARecord firstName can find field names like "firstName, or "FIRST_NAME," etc...). The ODBC package is a change set, which, if I recall, loads some global constants and things which made the TimeStamp class not work in Aida, I think. Anyway, if you have problems, let me know; I have a version I patched many months ago which seems to work...although I didn't know enough at the time to turn it into a Monticello package and wrap ODBCEnh up with it! Take care, Rob
On Wed, Jul 30, 2008 at 12:33 PM, Andreas Raab andreas.raab@gmx.de wrote:
Keith Hodges wrote:
Latest avaiable is in http://www.squeaksource.com/MySQL
I use it in combination with some classes in Magritte-RDB available from mc.lukas-renggli.ch/magritteaddons
Thanks for the pointers. Unfortunately, it appears from SqueakMap that the driver is GPLed and since we sell our enterprise server solution this is a no-go. I think I'll go with ODBC.
Cheers,
- Andreas
squeak-dev@lists.squeakfoundation.org