Re: Newbie EOModeler problems
Re: Newbie EOModeler problems
- Subject: Re: Newbie EOModeler problems
- From: David Holt <email@hidden>
- Date: Sat, 15 Jan 2005 20:17:31 -0800
This document may help you, but it seems out of date. There has been discussion on the lists as to which postgresql driver is the best to use with WO. You may want to check the archives. I don't use PostgreSQL so I don't know the specifics.
http://www.psyex.com/techdocs/pgonx.html
Lists the following as the connection information:
• If you're using Apple's WebObjects, you can start up EOModeler and start a new JDBC connection with the following information:
user: postgres
password: postgres
url: jdbc:postgresql://127.0.0.1/testdb
driver name: org.postgresql.Driver
• Note that an error came up repeatedly for at least some people where 'localhost' would not resolve correctly, so that's why I've stipulated in both the connection program and the EOModeler information the universally standard localhost address (127.0.0.1) rather than using the standard word, "localhost".
--
Always do what is right. It will gratify half of mankind and astound the other.
<x-tad-smaller>
Mark Twain
from Sunbeams: http://www.thesunmagazine.org</x-tad-smaller>
On 15-Jan-05, at 7:31 PM, Ken Tozier wrote:
I just downloaded WebObjects 5.2.2 today and have been trying to create my first EOModel with no luck. The EOModeler documentation skips an important couple of steps when creating a new model with the "Model->New" command and I don't know how to fill in this extra info.
When you select "Model->New" the following dialogs appear in sequence:
1. "Choose the adaptor for your database" (I choose JDBC)
2. The next dialog (JDBC connection) isn't even mentioned in the documentation
User Name: (entered db user name)
Password: (entered db password)
URL: (not sure what to put here, my database in running locally on my hard drive and a url doesn't seem to make any sense)
Driver: (no idea what to put here)
Plugin: (path to my PostgreSQL JDBC java module: /usr/local/pgsql/share/java)
Result: Connection failure, no suitable driver
I read up on EOModel plugins but am not sure if I have to go through all that, thought I'd ask here first.
The main stumbling blocks are:
1. What to use for a url as the database doesn't really have anything to do with the web
2. How to get EOModeler to recognize the Postgres jdbc java module
Any help greatly appreciated
Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden