Quantcast

Pharo 5 ODBC

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Pharo 5 ODBC

Glenn Swanlund
Does Pharo 5 support ODBC? I loaded the UDBC package and can't see how to make an ODBC connection. There is a class UDBCODBCConnection but it is empty. Any pointers?

Regards,
Glenn
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Pharo 5 ODBC

Pharo Smalltalk Users mailing list
Can you give the URL of what exactly you loaded?  There's a bunch of ODBC packages/versions out there so I'd need more details.  I've used ODBC on Pharo 5 before without any problem.  Besides, what OS and database are you using?
 
-----------------
Benoît St-Jean
Yahoo! Messenger: bstjean
Twitter: @BenLeChialeux
Pinterest: benoitstjean
Instagram: Chef_Benito
IRC: lamneth
Blogue: endormitoire.wordpress.com
"A standpoint is an intellectual horizon of radius zero".  (A. Einstein)



From: Glenn Swanlund <[hidden email]>
To: [hidden email]
Sent: Monday, March 20, 2017 3:50 PM
Subject: [Pharo-users] Pharo 5 ODBC

Does Pharo 5 support ODBC? I loaded the UDBC package and can't see how to make an ODBC connection. There is a class UDBCODBCConnection but it is empty. Any pointers?

Regards,
Glenn


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Pharo 5 ODBC

Glenn Swanlund
Hi,

I'm trying to connect to a .xls file on Windows 7. I will also need to connect to an Access database. My application database is SQLite3.

I used the following excerpt from an email I found:

Gofer it  
        smalltalkhubUser: 'TorstenBergmann' project: 'UDBC';
        configuration;
        load.
        (Smalltalk at: #ConfigurationOfUDBC) loadBleedingEdge.
    
    Gofer it
        smalltalkhubUser: 'DBXTalk' project: 'Garage';
        configurationOf: 'GarageGlorp';
        load.
        #ConfigurationOfGarageGlorp asClass project stableVersion load.
    
    Gofer it
        smalltalkhubUser: 'DBXTalk' project: 'Glorp';
        package: 'Glorp-SQLite3';
        load.
    
    GlorpSQLite3CIConfiguration new configureSqlite3.
    GlorpDemoTablePopulatorResource invalidateSetup.


On Mon, Mar 20, 2017 at 1:12 PM, Benoit St-Jean via Pharo-users <[hidden email]> wrote:


---------- Forwarded message ----------
From: Benoit St-Jean <[hidden email]>
To: Any question about pharo is welcome <[hidden email]>
Cc: 
Bcc: 
Date: Mon, 20 Mar 2017 20:12:48 +0000 (UTC)
Subject: Re: [Pharo-users] Pharo 5 ODBC
Can you give the URL of what exactly you loaded?  There's a bunch of ODBC packages/versions out there so I'd need more details.  I've used ODBC on Pharo 5 before without any problem.  Besides, what OS and database are you using?
 
-----------------
Benoît St-Jean
Yahoo! Messenger: bstjean
Twitter: @BenLeChialeux
Pinterest: benoitstjean
Instagram: Chef_Benito
IRC: lamneth
Blogue: endormitoire.wordpress.com
"A standpoint is an intellectual horizon of radius zero".  (A. Einstein)



From: Glenn Swanlund <[hidden email]>
To: [hidden email]
Sent: Monday, March 20, 2017 3:50 PM
Subject: [Pharo-users] Pharo 5 ODBC

Does Pharo 5 support ODBC? I loaded the UDBC package and can't see how to make an ODBC connection. There is a class UDBCODBCConnection but it is empty. Any pointers?

Regards,
Glenn




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Pharo 5 ODBC

Offray Vladimir Luna Cárdenas-2

I'm using UDBC2 without any problem. Try this:

~~~

Gofer it  
        smalltalkhubUser: 'TorstenBergmann' project: 'UDBC';
        configuration;
        load.
        (Smalltalk at: #ConfigurationOfUDBC) loadBleedingEdge.

~~~

Cheers,

Offray

On 20/03/17 15:28, Glenn Swanlund wrote:
Hi,

I'm trying to connect to a .xls file on Windows 7. I will also need to connect to an Access database. My application database is SQLite3.

I used the following excerpt from an email I found:

Gofer it  
        smalltalkhubUser: 'TorstenBergmann' project: 'UDBC';
        configuration;
        load.
        (Smalltalk at: #ConfigurationOfUDBC) loadBleedingEdge.
    
    Gofer it
        smalltalkhubUser: 'DBXTalk' project: 'Garage';
        configurationOf: 'GarageGlorp';
        load.
        #ConfigurationOfGarageGlorp asClass project stableVersion load.
    
    Gofer it
        smalltalkhubUser: 'DBXTalk' project: 'Glorp';
        package: 'Glorp-SQLite3';
        load.
    
    GlorpSQLite3CIConfiguration new configureSqlite3.
    GlorpDemoTablePopulatorResource invalidateSetup.


On Mon, Mar 20, 2017 at 1:12 PM, Benoit St-Jean via Pharo-users <[hidden email]> wrote:


---------- Forwarded message ----------
From: Benoit St-Jean <[hidden email]>
To: Any question about pharo is welcome <[hidden email]>
Cc: 
Bcc: 
Date: Mon, 20 Mar 2017 20:12:48 +0000 (UTC)
Subject: Re: [Pharo-users] Pharo 5 ODBC
Can you give the URL of what exactly you loaded?  There's a bunch of ODBC packages/versions out there so I'd need more details.  I've used ODBC on Pharo 5 before without any problem.  Besides, what OS and database are you using?
 
-----------------
Benoît St-Jean
Yahoo! Messenger: bstjean
Twitter: @BenLeChialeux
Pinterest: benoitstjean
Instagram: Chef_Benito
IRC: lamneth
Blogue: endormitoire.wordpress.com
"A standpoint is an intellectual horizon of radius zero".  (A. Einstein)



From: Glenn Swanlund <[hidden email]>
To: [hidden email]
Sent: Monday, March 20, 2017 3:50 PM
Subject: [Pharo-users] Pharo 5 ODBC

Does Pharo 5 support ODBC? I loaded the UDBC package and can't see how to make an ODBC connection. There is a class UDBCODBCConnection but it is empty. Any pointers?

Regards,
Glenn





Loading...