SQL generation doesn't conform to entity inheritance
SQL generation doesn't conform to entity inheritance
- Subject: SQL generation doesn't conform to entity inheritance
- From: Dev WO <email@hidden>
- Date: Mon, 31 Jan 2011 18:57:22 +0100
Hello,
I don't really know where the issue come from, but here's what's happening and what I've already tried to fix it (without a solution so far).
I'm using Eclipse 3.6.1.M20100909 cocoa 64
WOLips 3.6.6215
PostgreSQL 8.4
WO 5.4.3
My previous setup was WO 5.3.3 with the previous major version of Eclipse (Carbon) and WOLips. The following behavior wasn't happening in this setup.
I've got an Abstract entity A and a couple sub-entities, let's say SubA1 and SubA2.
In the previous setup, when I generated the SQL for them, they were both correctly referring to A_seq for their primary key generation (in EntityModeler when generating SQL and while the app was running).
Now they are referring to SubA1_seq and SubA2_seq (in EntityModeler and while the app is running) which breaks the entire application by providing pk that might be already taken by the other sub-entity...
I first thought it could come from the PosgreSQL plugin framework, but after putting back my previous one, the issue is still there (cleaned the project after "updating" the framework).
I'll will update WOLips right away to check if it changes anything, but if anyone has an idea on what might cause this issue and even better how to fix it to respect entity inheritance, that would be really nice:)
Thanks,
Xavier
_______________________________________________
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