Send to Printer

st4u

ST 4U 157: Loading GLorpDBX into Pharo

November 11, 2011 7:09:45.755

Today's Smalltalk 4 You looks at loading GlorpDBX into Pharo - along with a small proble you hit (as of the time I recorded this, anywaY) when doing so. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:

Glorp

If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.

You can also watch it on YouTube:

Technorati Tags: , ,

Enclosures:
[st4u157-iPhone.m4v ( Size: 1825011 )]

posted by James Robertson

Comments

Re: ST 4U 157: Loading GLorpDBX into Pharo

[Mariano Martinez Peck] November 11, 2011 12:32:02.794

Thanks. I have just fixed it. It should be working know. Notice that the method should not just answer self but instead:

postLoadGlorpDriverDBXTalkPharo

(Smalltalk at: #PharoDatabaseAccessor) DefaultDriver: (Smalltalk globals at: #GlorpOpenDBXDriver).

"If the connection pool driver is desired, just evaluate:

PharoDatabaseAccessor DefaultDriver: GlorpOpenDBXDriverPoolingDriver

"

Transcript open.

Transcript show: 'IMPORTANT FOR GLORP AND OpenDBXDriver DRIVER'; cr;

show: 'In order to run sucessfully Glorp tests you should need to change the database connection settings used by them. To do this, change the following methods:

-GlorpDatabaseLoginResource>>defaultPostgreSQLInternetLogin

-GlorpDatabaseLoginResource>>defaultPostgreSQLLocalLogin

-GlorpDatabaseLoginResource>>defaultPostgreSQLLoginForGlorpStore

After doing this all Glorps tests must be green.'

 Share Tweet This