Updating 10 year old version of entity engine and service engine.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Updating 10 year old version of entity engine and service engine.

Mark Gordon
Hi,

I have been tasked with updating a 10 year old version of ofbiz
entityengine and service engine to the latest version.

Would anyone know of a document that outlines the changes to just these
modules? I didn't think so :-)

It seems that many of the helper methods have been removed from the
delegator.  Just as a single example, findByPrimaryKey(String, Map) it is
now findByPrimaryKeyPartial(GenericPK primaryKey, Set<String> keys).  In
the old version the entityname (string) was converted to the GenericPK for
that entity and basically the final call was to a method similar to this.

Just wondering if there is anyone that has been around for the past 10
years that can explain some of the history of the changes.

I am faced with either writing my own delegator that is a layer over the
existing delegator that puts the needed methods back and calls the new
methods.  Or editing the entire system fixing all the delegator calls.

I have not gotten into the service engine yet, I would guess the past 10
years have seen many changes here as well.

Thanks,
Mark
Reply | Threaded
Open this post in threaded view
|

Re: Updating 10 year old version of entity engine and service engine.

Jacques Le Roux
Administrator
Hi Mark,

Sorry to be late, I just want to warn you that it's not the right ML where to ask such questions. See why here http://ofbiz.apache.org/mailing-lists.html

Using the user ML, you will get a better support and it's more fair to share with everybody

The wider the audience the better the answers you might get

Thanks

Jacques


Le 04/07/2017 à 21:52, Mark Gordon a écrit :

> Hi,
>
> I have been tasked with updating a 10 year old version of ofbiz
> entityengine and service engine to the latest version.
>
> Would anyone know of a document that outlines the changes to just these
> modules? I didn't think so :-)
>
> It seems that many of the helper methods have been removed from the
> delegator.  Just as a single example, findByPrimaryKey(String, Map) it is
> now findByPrimaryKeyPartial(GenericPK primaryKey, Set<String> keys).  In
> the old version the entityname (string) was converted to the GenericPK for
> that entity and basically the final call was to a method similar to this.
>
> Just wondering if there is anyone that has been around for the past 10
> years that can explain some of the history of the changes.
>
> I am faced with either writing my own delegator that is a layer over the
> existing delegator that puts the needed methods back and calls the new
> methods.  Or editing the entire system fixing all the delegator calls.
>
> I have not gotten into the service engine yet, I would guess the past 10
> years have seen many changes here as well.
>
> Thanks,
> Mark
>