Hi Naveen,

My question is, in case if we want to support both native and Oracle, do we
> need add both persistence enabled = true and add DB related


Yes, that's correct. You have to set up both storages.


> 2. In case of eviction, where do we specify from which persistence it
> should
> get the data if its not in RAM.


Good question. Alex G., could you answer it?

--
Denis


On Mon, Mar 19, 2018 at 11:54 PM, Naveen <[email protected]> wrote:

> Hi Denis
>
> I have gone thru the link you mentioned, I still have couple of questions
>
> 1. How does the config XML looks like
>
> To enable native persistence, this is what we add to the config XML
>
>           <property name="dataStorageConfiguration">
>             <bean class="org.apache.ignite.configuration.
> DataStorageConfiguration">
>               <property name="defaultDataRegionConfiguration">
>                 <bean
> class="org.apache.ignite.configuration.DataRegionConfiguration">
>                   <property name="persistenceEnabled" value="true"/>
>                 </bean>
>               </property>
>             </bean>
>           </property>
>
>
> And for any 3rd party, we remove this entry and add cacheStoreFactory and
> all the caches and their attributes and types etc.
>
> My question is, in case if we want to support both native and Oracle, do we
> need add both persistence enabled = true and add DB related
>
> 2. In case of eviction, where do we specify from which persistence it
> should
> get the data if its not in RAM.
>
> Could you please  provide little more insight on this feature.
>
> Thanks
> Naveen
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to