Re: eo abstract classes and sequences

2013-03-25 Thread Jürgen Tabert
Hi Ramsey, I am using HI in the model. And yes everything works fine on Postgres. (only Oracle give me some trouble) The problem was I missed the HI gotcha from the article. Jürgen On 23.03.2013, at 00:56, Ramsey Gurley wrote: > Hi Jürgen, > > Since you have multiple tables, you must be usi

Re: eo abstract classes and sequences

2013-03-22 Thread Ramsey Gurley
Hi Jürgen, Since you have multiple tables, you must be using HI or VI. Both worked for me the last time I tried them on Postgres. I assume you are using Wonder's Postgres plugin. If you are trying to model VI yourself, you might also want to have a look at this page http://wiki.wocommunity.org

Re: eo abstract classes and sequences

2013-03-22 Thread Chuck Hill
On 2013-03-22, at 10:24 AM, Jürgen Tabert wrote: > Hi Chuck, > > thanks for the quick explanation. But this leads to the question why the > Entity Modeler generates the useless sequences for the subclasses > and omits the sequence for the abstract class. That is not Entity Modeler, that is fro

Re: eo abstract classes and sequences

2013-03-22 Thread Baiss Eric Magnusson
On Mar 22, 2013, at 10:24 AM, Jürgen Tabert wrote: > But this leads to the question why the Entity Modeler generates the useless > sequences for the subclasses > and omits the sequence for the abstract class. If no table name is defined on > the abstract class the runtime uses the class name t

Re: eo abstract classes and sequences

2013-03-22 Thread Jürgen Tabert
Hi Chuck, thanks for the quick explanation. But this leads to the question why the Entity Modeler generates the useless sequences for the subclasses and omits the sequence for the abstract class. If no table name is defined on the abstract class the runtime uses the class name to create the need

Re: eo abstract classes and sequences

2013-03-22 Thread Chuck Hill
Hi Jürgen, You are not doing anything wrong, that is how it is supposed to work. The GlobalID for all objects in the hierarchy is generated from the top most (abstract in your case) Entity name and the primary key. That implies that the primary key need to be unique across all of the tables i

eo abstract classes and sequences

2013-03-22 Thread Jürgen Tabert
Hi all, in my eomodel I have one abstract class (without a table) and three subclasses. The Entity Modeler generates the sql code for the three tables, sequences … and nothing for the abstract class. At runtime the system tries to create/use the sequence for the abstract class. I don't understan