|
|
|
|
|
Re: Make generated EMF classes implement Serializable [message #509101 is a reply to message #509072] |
Thu, 21 January 2010 07:04 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
Guys,
This bugzilla has relatively complete patches (along the line of what
Martin is suggesting) for supporting this
https://bugs.eclipse.org/bugs/show_bug.cgi?id=245014
Martin Taal wrote:
> Hi Svetoslav,
> Afaics no new tables would be generated in this way. The generated
> interfaces already extend EObject and Serializable does not add
> anything. Let me know what you see happening if it is different.
>
> Yes you can add annotations directly in the model
> (http://www.elver.org/hibernate/ejb3_format.html), but afaics it is
> not needed in this case.
>
> gr. Martin
>
> Svetoslav wrote:
>> Hi.
>>
>> Thank you for the quick reply. I have thought of that way but I
>> didn't want to do it like that because Teneo would generate some
>> unnecessary tables in the database and it will cause some overhead. I
>> have read somewhere about Teneo annotations and that I could control
>> the generation of the table that way but it seems too much work to
>> manually add annotations to all the classes.. I have read some JET
>> tutorials and probably I could achieve that by JET but I couldn't
>> find how can I use it along with EMF model generation.
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02885 seconds