Re: Is it bad to put Objects in EO derived classes

2006-10-31 Thread Mike Schrag
See: http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/Using_EOF/EOGeneratorOn Oct 31, 2006, at 4:48 PM, Paul Lynch wrote:EOGenerator does this - and more. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing lis

Re: Is it bad to put Objects in EO derived classes

2006-10-31 Thread Paul Lynch
On 31 Oct 2006, at 21:26, Baiss Eric Magnusson wrote: I'm assuming you're using EOGenerator and generating 2 different class files, right? That's really the best way to do it, then you add your variables in the non underscore class. I do this all the time. No I don't use EOGenerator

Re: Is it bad to put Objects in EO derived classes

2006-10-31 Thread Baiss Eric Magnusson
On Oct 31, 2006, at 8:51 AM, Baiss Eric Magnusson wrote: I need to add a BigDecimal to each Transaction record, I added it to public class Transaction extends EOGenericRecord as a local object. I don't instantiate it until it is needed. My question is, even though it is transient, is

Re: Is it bad to put Objects in EO derived classes

2006-10-31 Thread Ken Anderson
On Oct 31, 2006, at 1:30 PM, Baiss Eric Magnusson wrote:On Oct 31, 2006, at 9:16 AM, Chuck Hill wrote: On Oct 31, 2006, at 8:51 AM, Baiss Eric Magnusson wrote: I need to add a BigDecimal to each Transaction record, I added it to public class Transaction extends EOGenericRecordas a local object. I d

Re: Is it bad to put Objects in EO derived classes

2006-10-31 Thread Baiss Eric Magnusson
On Oct 31, 2006, at 9:16 AM, Chuck Hill wrote: On Oct 31, 2006, at 8:51 AM, Baiss Eric Magnusson wrote: I need to add a BigDecimal to each Transaction record, I added it to public class Transaction extends EOGenericRecord as a local object. I don't instantiate it until it is needed. M

Is it bad to put Objects in EO derived classes

2006-10-31 Thread Baiss Eric Magnusson
I need to add a BigDecimal to each Transaction record, I added it to public class Transaction extends EOGenericRecord as a local object. I don't instantiate it until it is needed. My question is, even though it is transient, is it better to add it to the base EOModel, so it exists in th

Re: Is it bad to put Objects in EO derived classes

2006-10-31 Thread Chuck Hill
On Oct 31, 2006, at 8:51 AM, Baiss Eric Magnusson wrote: I need to add a BigDecimal to each Transaction record, I added it to public class Transaction extends EOGenericRecord as a local object. I don't instantiate it until it is needed. My question is, even though it is transient, is i