Re: Multiple clients in single DB

2007-04-29 Thread Dave Elsner
The classes extend my own component that extends EOGenericRecord. However I have now removed those flattened classes from the project as they are never instantiated directly so they do not need to set anything in awakeFromInsertion as their related entities do that. Dave On 28/04/2007, a

Re: Multiple clients in single DB

2007-04-27 Thread Chuck Hill
What class are the flattened tables? Usually join tables are EOGenericRecord in which case awakeFromInsertion will get called on EOGenericRecord, not in your code. Chuck On Apr 26, 2007, at 10:35 PM, Dave Elsner wrote: I spoke to soon, it seems that awakeFromInsertion does NOT register

Re: Multiple clients in single DB

2007-04-27 Thread Ken Anderson
I have had similar issues with those flattened join tables, so I always make them a real entity so that I can control how things work. It's also useful in the event you decide that the join itself requires a new attribute. On Apr 27, 2007, at 1:35 AM, Dave Elsner wrote: I spoke to soon,

Re: Multiple clients in single DB

2007-04-26 Thread Dave Elsner
I spoke to soon, it seems that awakeFromInsertion does NOT register flattened tables being inserted? I guess I really don't need to store the client for a Flatteren join table as it can be determined via the relationships. However it seems odd awakeFromInsertion does not get called even thou

Re: Multiple clients in single DB

2007-04-26 Thread Dave Elsner
Excellent, that was the confirmation I was looking for. For now it works for multiple application instances but eventually I will run all clients from the single instance. Thanks. On 27/04/2007, at 6:35 AM, Lachlan Deck wrote: Hi Dave, On 26/04/2007, at 11:33 AM, Dave Elsner wrot

Re: Multiple clients in single DB

2007-04-26 Thread Lachlan Deck
Hi Dave, On 26/04/2007, at 11:33 AM, Dave Elsner wrote: I have an WO5.3 application I want to deploy to five different clients, all have the same DB (Oracle) schema but different data. I would like to use a shared database with a new column in each table "client" that has the client ID. Th

Re: Multiple clients in single DB

2007-04-26 Thread Patrick Middleton
On 26 Apr 2007, at 02:33, Dave Elsner wrote: Hi, I have an WO5.3 application I want to deploy to five different clients, all have the same DB (Oracle) schema but different data. I would like to use a shared database with a new column in each table "client" that has the client ID. Then ov

Multiple clients in single DB

2007-04-25 Thread Dave Elsner
Hi, I have an WO5.3 application I want to deploy to five different clients, all have the same DB (Oracle) schema but different data. I would like to use a shared database with a new column in each table "client" that has the client ID. Then override awakeFromInsertion for all EOEntities t