You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Christopher Snow <sn...@snowconsulting.co.uk> on 2010/02/04 14:35:37 UTC

entity-auto - is there a way of doing createOrUpdate?

Is it possible to do a createOrUpdate with the new entity-auto engine?  
I.e. the operation depends on whether or not the primary key is supplier?

Many thanks in advance,

Chris

Re: entity-auto - is there a way of doing createOrUpdate?

Posted by Christopher Snow <sn...@snowconsulting.co.uk>.
Is it likely that this will get implemented at some stage?

Divesh Dutta wrote:
> No its not possible now. Refer EntityAutoEngine.java
>
> Thanks
> -- 
> Divesh Dutta
>
>
> Christopher Snow wrote:
>> Is it possible to do a createOrUpdate with the new entity-auto 
>> engine?  I.e. the operation depends on whether or not the primary key 
>> is supplier?
>>
>> Many thanks in advance,
>>
>> Chris
>


Re: entity-auto - is there a way of doing createOrUpdate?

Posted by Divesh Dutta <di...@hotwaxmedia.com>.
No its not possible now. Refer EntityAutoEngine.java

Thanks
--
Divesh Dutta


Christopher Snow wrote:
> Is it possible to do a createOrUpdate with the new entity-auto 
> engine?  I.e. the operation depends on whether or not the primary key 
> is supplier?
>
> Many thanks in advance,
>
> Chris