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

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

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

Chris Snow-3
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
Reply | Threaded
Open this post in threaded view
|

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

Divesh Dutta
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

Reply | Threaded
Open this post in threaded view
|

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

Chris Snow-3
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
>