Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc) » subclasses not being recreated
| |
Re: subclasses not being recreated [message #86017 is a reply to message #86002] |
Mon, 11 June 2007 18:31 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
I would need some more information to be able to comment. Can you make a small example which shows
this behavior?
gr. Martin
Paul Gardiner wrote:
> Sorry, I forgot to mark it teneo.
>
> "Paul Gardiner" <pgardiner@syntellect.com> wrote in message
> news:f4k1es$tvr$1@build.eclipse.org...
>> I have a model that is created in java, that gets perisisted fine, but
>> doesn't get recreated when I read it back in.
>>
>> When I create and save an instance of the subclass, and then look in the
>> database, I can see all of its properties in the corresponding table.
>> When I read it back in, the properties from the superclass are ok, and the
>> getter methods work fine. However, the properties that are defined in the
>> subclass are all null.
>>
>>
>
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
|
Re: subclasses not being recreated [message #86093 is a reply to message #86017] |
Tue, 12 June 2007 19:20 |
Paul Gardiner Messages: 94 Registered: July 2009 |
Member |
|
|
I tried recreating and was unsuccessful. It turned out to be a bug in my
implementation classes on my part.
"Martin Taal" <mtaal@elver.org> wrote in message
news:f4k4dg$4da$1@build.eclipse.org...
>I would need some more information to be able to comment. Can you make a
>small example which shows this behavior?
>
> gr. Martin
>
> Paul Gardiner wrote:
>> Sorry, I forgot to mark it teneo.
>>
>> "Paul Gardiner" <pgardiner@syntellect.com> wrote in message
>> news:f4k1es$tvr$1@build.eclipse.org...
>>> I have a model that is created in java, that gets perisisted fine, but
>>> doesn't get recreated when I read it back in.
>>>
>>> When I create and save an instance of the subclass, and then look in the
>>> database, I can see all of its properties in the corresponding table.
>>> When I read it back in, the properties from the superclass are ok, and
>>> the getter methods work fine. However, the properties that are defined
>>> in the subclass are all null.
>>>
>>>
>>
>>
>
>
> --
>
> With Regards, Martin Taal
>
> Springsite/Elver.org
> Office: Hardwareweg 4, 3821 BV Amersfoort
> Postal: Nassaulaan 7, 3941 EC Doorn
> The Netherlands
> Tel: +31 (0)84 420 2397
> Fax: +31 (0)84 225 9307
> Mail: mtaal@springsite.com - mtaal@elver.org
> Web: www.springsite.com - www.elver.org
|
|
| |
Re: subclasses not being recreated [message #606901 is a reply to message #86002] |
Mon, 11 June 2007 18:31 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
I would need some more information to be able to comment. Can you make a small example which shows
this behavior?
gr. Martin
Paul Gardiner wrote:
> Sorry, I forgot to mark it teneo.
>
> "Paul Gardiner" <pgardiner@syntellect.com> wrote in message
> news:f4k1es$tvr$1@build.eclipse.org...
>> I have a model that is created in java, that gets perisisted fine, but
>> doesn't get recreated when I read it back in.
>>
>> When I create and save an instance of the subclass, and then look in the
>> database, I can see all of its properties in the corresponding table.
>> When I read it back in, the properties from the superclass are ok, and the
>> getter methods work fine. However, the properties that are defined in the
>> subclass are all null.
>>
>>
>
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
|
Re: subclasses not being recreated [message #606910 is a reply to message #86017] |
Tue, 12 June 2007 19:20 |
Paul Gardiner Messages: 94 Registered: July 2009 |
Member |
|
|
I tried recreating and was unsuccessful. It turned out to be a bug in my
implementation classes on my part.
"Martin Taal" <mtaal@elver.org> wrote in message
news:f4k4dg$4da$1@build.eclipse.org...
>I would need some more information to be able to comment. Can you make a
>small example which shows this behavior?
>
> gr. Martin
>
> Paul Gardiner wrote:
>> Sorry, I forgot to mark it teneo.
>>
>> "Paul Gardiner" <pgardiner@syntellect.com> wrote in message
>> news:f4k1es$tvr$1@build.eclipse.org...
>>> I have a model that is created in java, that gets perisisted fine, but
>>> doesn't get recreated when I read it back in.
>>>
>>> When I create and save an instance of the subclass, and then look in the
>>> database, I can see all of its properties in the corresponding table.
>>> When I read it back in, the properties from the superclass are ok, and
>>> the getter methods work fine. However, the properties that are defined
>>> in the subclass are all null.
>>>
>>>
>>
>>
>
>
> --
>
> With Regards, Martin Taal
>
> Springsite/Elver.org
> Office: Hardwareweg 4, 3821 BV Amersfoort
> Postal: Nassaulaan 7, 3941 EC Doorn
> The Netherlands
> Tel: +31 (0)84 420 2397
> Fax: +31 (0)84 225 9307
> Mail: mtaal@springsite.com - mtaal@elver.org
> Web: www.springsite.com - www.elver.org
|
|
|
Goto Forum:
Current Time: Thu Mar 28 11:05:02 GMT 2024
Powered by FUDForum. Page generated in 0.02036 seconds
|