Re: [Pharo-users] How to connect to DB2
Thank you for the answers! I thought ODBC was deprecated from Garage, I'll give it another look. On Fri, Dec 22, 2017 at 10:53 PM, Thomas Sattlerwrote: > I have no problem using Garage to connect to Postgres. Don't know if it > will work with DB2, but since it's ODBC, it should. > > On Fri, Dec 22, 2017 at 6:36 PM, Andrei Stebakov > wrote: > >> Hi Stef >> >> I already checked Garage, it doesn't have support for DB2. It used to >> have support for odbc, but now it's deprecated. >> >> Andrei >> >> On Dec 22, 2017 15:11, "Stephane Ducasse" >> wrote: >> >>> Hi andrei >>> >>> I do not know the status of OBDC but you should know that code on >>> squeaksource is in general quite old. >>> Have a look at Garage which is a kind of JBDC. >>> >>> https://github.com/pharo-rdbms/garage >>> >>> You should probably have a version available via the catalog >>> >>> Stef >>> >>> On Fri, Dec 22, 2017 at 2:43 PM, Andrei Stebakov >>> wrote: >>> > Hi Stef >>> > >>> > Gofer new >>> > squeaksource: 'ODBC'; >>> > package: 'ConfigurationOfODBC'; load. >>> > (Smalltalk at: #ConfigurationOfODBC) load. >>> > >>> > When I execute the code above I got an exception doesNotUnderstand: >>> > #selector in RBParser>>externalFunctionDeclaration. Looks like >>> currentScope >>> > variable is not defined. >>> > Also if I install ODBC from the catalog it also fails. >>> > >>> > Andrei >>> > >>> > >>> > On Fri, Dec 22, 2017 at 2:19 AM, Stephane Ducasse < >>> stepharo.s...@gmail.com> >>> > wrote: >>> >> >>> >> Hi andrei >>> >> >>> >> First welcome to this list. >>> >> Second can you explain to us what is the experience that you did so >>> >> that you can state that ODBC is broken in Pharo 6.1? >>> >> >>> >> Stef >>> >> >>> >> On Thu, Dec 21, 2017 at 11:48 PM, Andrei Stebakov < >>> lisper...@gmail.com> >>> >> wrote: >>> >> > Looks like ODBC is broken in Pharo 6.1. >>> >> > What's the best way to get access to DB2 in Pharo? >>> >> > >>> >> > >>> >> >>> > >>> >>> >
Re: [Pharo-users] How to connect to DB2
I have no problem using Garage to connect to Postgres. Don't know if it will work with DB2, but since it's ODBC, it should. On Fri, Dec 22, 2017 at 6:36 PM, Andrei Stebakovwrote: > Hi Stef > > I already checked Garage, it doesn't have support for DB2. It used to have > support for odbc, but now it's deprecated. > > Andrei > > On Dec 22, 2017 15:11, "Stephane Ducasse" wrote: > >> Hi andrei >> >> I do not know the status of OBDC but you should know that code on >> squeaksource is in general quite old. >> Have a look at Garage which is a kind of JBDC. >> >> https://github.com/pharo-rdbms/garage >> >> You should probably have a version available via the catalog >> >> Stef >> >> On Fri, Dec 22, 2017 at 2:43 PM, Andrei Stebakov >> wrote: >> > Hi Stef >> > >> > Gofer new >> > squeaksource: 'ODBC'; >> > package: 'ConfigurationOfODBC'; load. >> > (Smalltalk at: #ConfigurationOfODBC) load. >> > >> > When I execute the code above I got an exception doesNotUnderstand: >> > #selector in RBParser>>externalFunctionDeclaration. Looks like >> currentScope >> > variable is not defined. >> > Also if I install ODBC from the catalog it also fails. >> > >> > Andrei >> > >> > >> > On Fri, Dec 22, 2017 at 2:19 AM, Stephane Ducasse < >> stepharo.s...@gmail.com> >> > wrote: >> >> >> >> Hi andrei >> >> >> >> First welcome to this list. >> >> Second can you explain to us what is the experience that you did so >> >> that you can state that ODBC is broken in Pharo 6.1? >> >> >> >> Stef >> >> >> >> On Thu, Dec 21, 2017 at 11:48 PM, Andrei Stebakov > > >> >> wrote: >> >> > Looks like ODBC is broken in Pharo 6.1. >> >> > What's the best way to get access to DB2 in Pharo? >> >> > >> >> > >> >> >> > >> >>
Re: [Pharo-users] How to connect to DB2
Hi Stef I already checked Garage, it doesn't have support for DB2. It used to have support for odbc, but now it's deprecated. Andrei On Dec 22, 2017 15:11, "Stephane Ducasse"wrote: > Hi andrei > > I do not know the status of OBDC but you should know that code on > squeaksource is in general quite old. > Have a look at Garage which is a kind of JBDC. > > https://github.com/pharo-rdbms/garage > > You should probably have a version available via the catalog > > Stef > > On Fri, Dec 22, 2017 at 2:43 PM, Andrei Stebakov > wrote: > > Hi Stef > > > > Gofer new > > squeaksource: 'ODBC'; > > package: 'ConfigurationOfODBC'; load. > > (Smalltalk at: #ConfigurationOfODBC) load. > > > > When I execute the code above I got an exception doesNotUnderstand: > > #selector in RBParser>>externalFunctionDeclaration. Looks like > currentScope > > variable is not defined. > > Also if I install ODBC from the catalog it also fails. > > > > Andrei > > > > > > On Fri, Dec 22, 2017 at 2:19 AM, Stephane Ducasse < > stepharo.s...@gmail.com> > > wrote: > >> > >> Hi andrei > >> > >> First welcome to this list. > >> Second can you explain to us what is the experience that you did so > >> that you can state that ODBC is broken in Pharo 6.1? > >> > >> Stef > >> > >> On Thu, Dec 21, 2017 at 11:48 PM, Andrei Stebakov > >> wrote: > >> > Looks like ODBC is broken in Pharo 6.1. > >> > What's the best way to get access to DB2 in Pharo? > >> > > >> > > >> > > > >
Re: [Pharo-users] How to connect to DB2
Hi andrei I do not know the status of OBDC but you should know that code on squeaksource is in general quite old. Have a look at Garage which is a kind of JBDC. https://github.com/pharo-rdbms/garage You should probably have a version available via the catalog Stef On Fri, Dec 22, 2017 at 2:43 PM, Andrei Stebakovwrote: > Hi Stef > > Gofer new > squeaksource: 'ODBC'; > package: 'ConfigurationOfODBC'; load. > (Smalltalk at: #ConfigurationOfODBC) load. > > When I execute the code above I got an exception doesNotUnderstand: > #selector in RBParser>>externalFunctionDeclaration. Looks like currentScope > variable is not defined. > Also if I install ODBC from the catalog it also fails. > > Andrei > > > On Fri, Dec 22, 2017 at 2:19 AM, Stephane Ducasse > wrote: >> >> Hi andrei >> >> First welcome to this list. >> Second can you explain to us what is the experience that you did so >> that you can state that ODBC is broken in Pharo 6.1? >> >> Stef >> >> On Thu, Dec 21, 2017 at 11:48 PM, Andrei Stebakov >> wrote: >> > Looks like ODBC is broken in Pharo 6.1. >> > What's the best way to get access to DB2 in Pharo? >> > >> > >> >
Re: [Pharo-users] How to connect to DB2
Hi Stef Gofer new squeaksource: 'ODBC'; package: 'ConfigurationOfODBC'; load. (Smalltalk at: #ConfigurationOfODBC) load. When I execute the code above I got an exception doesNotUnderstand: #selector in RBParser>>externalFunctionDeclaration. Looks like currentScope variable is not defined. Also if I install ODBC from the catalog it also fails. Andrei On Fri, Dec 22, 2017 at 2:19 AM, Stephane Ducassewrote: > Hi andrei > > First welcome to this list. > Second can you explain to us what is the experience that you did so > that you can state that ODBC is broken in Pharo 6.1? > > Stef > > On Thu, Dec 21, 2017 at 11:48 PM, Andrei Stebakov > wrote: > > Looks like ODBC is broken in Pharo 6.1. > > What's the best way to get access to DB2 in Pharo? > > > > > >
Re: [Pharo-users] How to connect to DB2
Hi andrei First welcome to this list. Second can you explain to us what is the experience that you did so that you can state that ODBC is broken in Pharo 6.1? Stef On Thu, Dec 21, 2017 at 11:48 PM, Andrei Stebakovwrote: > Looks like ODBC is broken in Pharo 6.1. > What's the best way to get access to DB2 in Pharo? > >
[Pharo-users] How to connect to DB2
Looks like ODBC is broken in Pharo 6.1. What's the best way to get access to DB2 in Pharo?