Re: reverse engineer table problem

2016-10-29 Thread Chuck Hill
Just change the name in the model (the Java side, not the database side).

From:  on behalf of 
Theodore Petrosky 
Date: Saturday, October 29, 2016 at 5:43 AM
To: WebObjects-Dev 
Subject: reverse engineer table problem

my first real gottcha!  it seems that the database I need to reverse has a 
reserved word for a table name. Important info here!! I am never going to write 
to this database, just read.

in a table I need, there is an attribute called “super”.

what are my choices? I don’t even care about this attribute so I could comment 
the accessors out. but if I were to rerun the EOGenerate,  I would have a 
problem.

anything I can do besides commenting out the accessors?
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40gevityinc.com

This email sent to ch...@gevityinc.com<mailto:ch...@gevityinc.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: reverse engineer table problem

2016-10-29 Thread Paul Yu
Just remove the attribute from the EOModel.

Or rename the EO.attribute but leave the TABLE.columnName alone.

Paul
> On Oct 29, 2016, at 8:43 AM, Theodore Petrosky  wrote:
> 
> my first real gottcha!  it seems that the database I need to reverse has a 
> reserved word for a table name. Important info here!! I am never going to 
> write to this database, just read. 
> 
> in a table I need, there is an attribute called “super”. 
> 
> what are my choices? I don’t even care about this attribute so I could 
> comment the accessors out. but if I were to rerun the EOGenerate,  I would 
> have a problem.
> 
> anything I can do besides commenting out the accessors?
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com
> 
> This email sent to p...@mac.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

reverse engineer table problem

2016-10-29 Thread Theodore Petrosky
my first real gottcha!  it seems that the database I need to reverse has a 
reserved word for a table name. Important info here!! I am never going to write 
to this database, just read. 

in a table I need, there is an attribute called “super”. 

what are my choices? I don’t even care about this attribute so I could comment 
the accessors out. but if I were to rerun the EOGenerate,  I would have a 
problem.

anything I can do besides commenting out the accessors?
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com