You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Christian Carlow <ch...@gmail.com> on 2014/01/15 16:09:05 UTC
Further issues with hot-deploy legacydb delegator for external db
I gave up trying to create a separate legacydb delegator as instructed
in:
https://cwiki.apache.org/confluence/display/OFBIZ/Handling+of+External+data
I found this thread that suggested just adding the <group-map> element
for the external db to the default delegator. The problem I'm having
now is when I try to select an entity from the external db, an error
occurs because the GenericDelegator is trying to get LAST_UPDATED_STAMP,
etc. fields which do not exist in those entities.
Anyone know how to prevent the delegator from trying to select those
fields from the external db entities?
Re: Further issues with hot-deploy legacydb delegator for external
db
Posted by Christian Carlow <ch...@gmail.com>.
Solved. I forgot to add no-auto-stamp="true" to each of the external
entities in entitymodel.xml. Seems like
framework/webtools/webapp/webtools/entity/ModelInduceFromDb.jsp should
automatically set that attribute no-auto-stamp="true".
On 01/15/2014 09:09 AM, Christian Carlow wrote:
> I gave up trying to create a separate legacydb delegator as instructed
> in:
> https://cwiki.apache.org/confluence/display/OFBIZ/Handling+of+External+data
>
> I found this thread that suggested just adding the <group-map> element
> for the external db to the default delegator. The problem I'm having
> now is when I try to select an entity from the external db, an error
> occurs because the GenericDelegator is trying to get
> LAST_UPDATED_STAMP, etc. fields which do not exist in those entities.
>
> Anyone know how to prevent the delegator from trying to select those
> fields from the external db entities?
Re: Further issues with hot-deploy legacydb delegator for external
db
Posted by Christian Carlow <ch...@gmail.com>.
Sorry, here's the thread missing in the previous message:
https://www.mail-archive.com/user@ofbiz.apache.org/msg15746.html
On 01/15/2014 09:09 AM, Christian Carlow wrote:
> I gave up trying to create a separate legacydb delegator as instructed
> in:
> https://cwiki.apache.org/confluence/display/OFBIZ/Handling+of+External+data
>
> I found this thread that suggested just adding the <group-map> element
> for the external db to the default delegator. The problem I'm having
> now is when I try to select an entity from the external db, an error
> occurs because the GenericDelegator is trying to get
> LAST_UPDATED_STAMP, etc. fields which do not exist in those entities.
>
> Anyone know how to prevent the delegator from trying to select those
> fields from the external db entities?