|
Re: EMF and iBATIS [message #892329 is a reply to message #892309] |
Wed, 27 June 2012 14:01   |
Eclipse User |
|
|
|
Hi Jan,
The main issue I encountered when doing Teneo were the EMF list implementations, which are specific and difficult to
combine with a persistence solution, the constructor/factory is no problem afaics as EMF will generate public constructors.
Btw, it can be an idea to check out the Texo project which generates standard java pojos with standard list
implementations (from ecore models), maybe this code is easier to integrate with ibatis:
http://wiki.eclipse.org/Texo
gr. Martin
On 06/27/2012 07:06 PM, Jan Krakora wrote:
> Hi,
>
> Is it possible to persist and load EMF objects using iBatis?
>
> It seems to me as if it wouldn't work out of the box since the EMF objects
> seems to need to be generated by a factory but iBatis uses constructors.
>
> Can anyone say anything about this? I feel that I would love the power of
> both frameworks at the same time... :)
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
|
|
|
Re: EMF and iBATIS [message #894046 is a reply to message #892309] |
Fri, 06 July 2012 09:36  |
Eclipse User |
|
|
|
We used EMF+iBatis in one of our old projects (iBatis was configured
through XML by then which IIRC changed). iBatis also you to define your
own instance-creation and feature setting factory which we used to call
EMFs factories.
For multi-valued features we had to write custom code (we introduced a
set...-method) and on first access of the EMF-List we copied the content
of the the iBatis list to EMF one.
Tom
Am 27.06.12 19:06, schrieb Jan Krakora:
> Hi,
>
> Is it possible to persist and load EMF objects using iBatis?
>
> It seems to me as if it wouldn't work out of the box since the EMF objects
> seems to need to be generated by a factory but iBatis uses constructors.
>
> Can anyone say anything about this? I feel that I would love the power of
> both frameworks at the same time... :)
|
|
|
Powered by
FUDForum. Page generated in 0.03371 seconds