Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOLips nightly: generated SQL missing spaces



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?)



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden

References: 
 >WOLips nightly: generated SQL missing spaces (From: Paul Hoadley <email@hidden>)
 >Re: WOLips nightly: generated SQL missing spaces (From: Mike Schrag <email@hidden>)
 >Re: WOLips nightly: generated SQL missing spaces (From: Paul Hoadley <email@hidden>)
 >Re: WOLips nightly: generated SQL missing spaces (From: Mike Schrag <email@hidden>)
 >Re: WOLips nightly: generated SQL missing spaces (From: Paul Hoadley <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.