On 31-Oct-07, at 5:48 PM, Paul Hoadley wrote:
On 01/11/2007, at 9:08 AM, Paul Hoadley wrote:
On 31/10/2007, at 10:46 PM, Mike Schrag wrote:
EM uses the classpath defined in the project the model you're
editing is in to determine how to call EOF -- Is the model's
project setup against 5.4 or 5.3?
The project was setup against 5.3. I've upgraded to Leopard, so
I'm now running 5.4. The project itself compiled and ran without
issue after the upgrade. The only problem I've encountered is this
one now that I want to change the EO model. Is there an easy way
to change the project setup in an appropriate way?
Just started a brand new project, brand new EO model:
CREATE TABLE NewEntity ("newAttribute" int8NOT NULL, "newAttribute1"
varchar(100)NOT NULL);
CREATE SEQUENCE NewEntity_seq;
CREATE TEMP TABLE EOF_TMP_TABLE AS SELECT SETVAL('NewEntity_seq',
(SELECT MAX(newAttribute) FROM NewEntity));
DROP TABLE EOF_TMP_TABLE;
ALTER TABLE NewEntity ALTER COLUMN newAttribute SET DEFAULT
nextval( 'NewEntity_seq' );
ALTER TABLE NewEntity ADD CONSTRAINT NewEntity_pk PRIMARY KEY
(newAttribute);
(Just to be clear, as I mentioned in a previous post, I am very much
a WO novice. All I've done to upgrade is: installed Leopard,
installed Xcode Tools, installed WebObjects, installed Eclipse
3.3.1.1, installed WOLips nightly. I _assume_ WO 5.3 has been
deleted, and that Eclipse/WOLips have just automagically adjusted to
WO 5.4. Are there any steps in a straight upgrade that I've
overlooked, which might be explaining the behaviour above?)
I'll just chime in and say I've got this exact same behavior on
Leopard/5.4. Something is not right with the SQL generation.
-daryl
------
Daryl Thachuk
Montage Technologies Inc.
http://www.montagetech.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]