Re: Problem with sequences
Re: Problem with sequences
- Subject: Re: Problem with sequences
- From: Johnny Miller <email@hidden>
- Date: Wed, 14 Aug 2013 14:44:58 -1000
Hi Paul,
That's the strange thing to me too.
Please see my last email about not having the PostgreSQL plugin in the application itself. I have different EOModels in individual frameworks and then the application includes those frameworks. The frameworks have the PostgreSQL plugin but the actual application itself didn't include the PostgreSQL plugin. When I included it it worked as expected (at least locally).
I'm uploading my application now to test. Does that make any sense to you?
Johnny
On Aug 14, 2013, at 2:35 PM, Paul Hoadley < email@hidden> wrote: Hi Johnny, On 15/08/2013, at 8:00 AM, Johnny Miller < email@hidden> wrote: I'm using a PostgreSQL database
...
It stops using the sequence to generate the ID and switches over to EO_PK_TABLE so the thumbnails get properly saved. But the next time I go to add an attachment I get a EO general adapter exception because the sequence is behind the value in EO_PK_TABLE which holds the last generated ID.
Something smells very strange here. If you're using PostgreSQL, why is EO_PK_TABLE being created and used?
|
_______________________________________________
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