Re: How to handle relationship properties?
Re: How to handle relationship properties?
- Subject: Re: How to handle relationship properties?
- From: Chuck Hill <email@hidden>
- Date: Tue, 3 Jan 2006 14:13:18 -0800
Can you post the code, the SQL, and the entire exception?
On Jan 3, 2006, at 2:06 PM, Miguel Arroz wrote:
Hi!
Maybe... I started the WO journey on 5.3 (using 5.3.1 now), so I
can't try it on 5.2! :)
Yours
Miguel Arroz
On 2006/01/03, at 18:48, Arturo Perez wrote:
Maybe it's a regression with your version of WebObjects/EOF? I'm
still on something like 5.2.4 (whatever the latest that runs under
Panther).
-arturo
Miguel Arroz wrote:
Hi!
Didn't know the tool, but downloaded and tried. Nice! :)
It works fine with my model. Of course, I cannot try my fetch
specification there because I would need the real Java object :)
but it works, I can browse, and from my AccountUser (I'm
connecting Users with Accounts), I may see a User and it's
fields, and an Account and it's fields.
Yours
Miguel Arroz
On 2006/01/03, at 13:51, Arturo Perez wrote:
I use the pgSQL and wonder plugin and I don't have this
problem. Here's something to try, and a handy thing in any case.
Are you aware of the tool called DBEdit? It's like TOAD or any
other database browser but it uses your EOModel to intelligently
navigate your schema. Can you browse through your database
successfully with DBEdit?
-arturo
Miguel Arroz wrote:
Hi!
Yes, they have the key and not the diamond.
I'm using PosgreSQL and the wonder PostgreSQL plugin. Could
that be the problem?
Yours
Miguel Arroz
On 2006/01/03, at 13:35, Arturo Perez wrote:
Miguel Arroz wrote:
Hi!
It does not work... it actually generates the correct SQL
call, with the user_id column name and such, but apparently
it can't get the primary key value from the object and throws
an exception (No value specified for parameter 1.). Maybe if
I make the primary key a class property, but that sucks... am
I doing something wrong?
"GUERRA E' PAZ
LIBERDADE E' ESCRAVIDAO
IGNORANCIA E' FORCA" -- 1984
Miguel Arroz
http://www.ipragma.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Coming in 2006 - an introduction to web applications using WebObjects
and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
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