Objectmix
Tags Register Mark Forums Read

Smalltalk/x Glorp : Smalltalk

This is a discussion on Smalltalk/x Glorp within the Smalltalk forums in Programming Languages category; I have a bit of problem trying to get Glorp to work on Smalltalk/x. I can't seem to even get even a basic logon to work. I am trying to setup a connection to a Postgres database. | aSQLString result login accessor | login := Glorp::Login new database: Glorp::PostgreSQLPlatform new; username: 'postgres'; password: 'rom814'; connectString: '192.168.0.20:5432', '_', 'patches'. accessor := Glorp: atabaseAccessor forLogin: login. accessor login. It seems to be failing on the lack of a STXDatabaseAccessor, I believe its a class. Anyway if can tell me what I am missing or what I have should loaded prior to loading ...


Object Mix > Programming Languages > Smalltalk > Smalltalk/x Glorp

Reply

 

LinkBack Thread Tools
  #1  
Old 01-02-2006, 07:03 PM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default Smalltalk/x Glorp

I have a bit of problem trying to get Glorp to work on Smalltalk/x.
I can't seem to even get even a basic logon to work.

I am trying to setup a connection to a Postgres database.

| aSQLString result login accessor |

login := Glorp::Login new database: Glorp::PostgreSQLPlatform new;
username: 'postgres';
password: 'rom814';
connectString: '192.168.0.20:5432', '_', 'patches'.

accessor := Glorp:atabaseAccessor forLogin: login.

accessor login.

It seems to be failing on the lack of a STXDatabaseAccessor, I believe
its
a class.


Anyway if can tell me what I am missing or what I have should loaded
prior
to loading the Glorp classes I would appreciate it.

Thanks!

  #2  
Old 01-03-2006, 10:05 AM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default Re: Smalltalk/x Glorp

Hmm, I'm afraid I don't even have the STX port code, so I'm not sure what
it's status is. It sounds like you're missing some dialect-specific code.
Normally that's found in a package like Glorp<DialectName>Port, so you
could look around for that.

"Michael" <michael_atkisson@comcast.net> wrote in
news:1136246578.418699.219530@g14g2000cwa.googlegroups.com:

> I have a bit of problem trying to get Glorp to work on Smalltalk/x.
> I can't seem to even get even a basic logon to work.
>
> I am trying to setup a connection to a Postgres database.
>
> | aSQLString result login accessor |
>
> login := Glorp::Login new database: Glorp::PostgreSQLPlatform new;
> username: 'postgres';
> password: 'rom814';
> connectString: '192.168.0.20:5432', '_', 'patches'.
>
> accessor := Glorp:atabaseAccessor forLogin: login.
>
> accessor login.
>
> It seems to be failing on the lack of a STXDatabaseAccessor, I believe
> its
> a class.
>
>
> Anyway if can tell me what I am missing or what I have should loaded
> prior
> to loading the Glorp classes I would appreciate it.
>
> Thanks!
>
>




--
Alan Knight [|], Cincom Smalltalk Development
knight@acm.org
aknight@cincom.com
http://www.cincom.com/smalltalk

"The Static Typing Philosophy: Make it fast. Make it right. Make it
run." - Niall Ross
Reply

Thread Tools


Similar Threads

Thread Thread Starter Forum Replies Last Post
Anyone who uses SQLite3 with GLORP in VW 4? usenet Smalltalk 4 07-27-2006 09:35 AM
GLORP for Dolphin usenet Smalltalk 5 07-04-2006 08:21 AM
GLORP How to do Compound Queries usenet Smalltalk 3 07-02-2006 06:41 PM
GLORP usenet Smalltalk 1 05-26-2006 07:29 AM
GLORP Transcript usenet Smalltalk 4 05-24-2006 01:57 AM


All times are GMT -5. The time now is 08:43 AM.

Managed by Infnx Pvt Ltd.