Unsubscribe

2018-12-27 Thread Ravi kumar Puri
Unsubscribe


Re: LOOK THORUGH THIS ERROR

2016-08-13 Thread Ravi kumar Puri
no i dont have any other version of hibernate. no i was unable to resolve
at that time too. coz i didnt get any proper answer from forum. Now what to
do ?

On Sat, Aug 13, 2016 at 12:40 AM, vkulichenko  wrote:

> Is it possible that you already have another version of Hibernate in your
> application?
>
> Actually, I remember you having the same issue a while ago. Were you able
> to
> resolve it?
>
> -Val
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/LOOK-THORUGH-THIS-ERROR-tp6977p7023.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>


Re: Clear the cached data?

2016-08-11 Thread Ravi kumar Puri
I will use clear or destroy method.. but in order to invoke that methods i
need ignite object from the server or client loaded classes as i have to
implement that in other class... In order to use in another i need to
create a new instance for ignite and intialise it null. That means i didnt
get any reference from server or clientloaded classes ignite object.
Undeestand?

Suppose

Class A()
Ignite ignite=Ignition.start("ignite-cfg.xml");
Then i create a cache name with this ignite object.

Class B()
In this class i want to use above class ignite object in order to clear the
cache.

So how to use it in class B() so that watever nodes loaded and data cached
in classA() cna be cleared from the scratch??

Understood??
On 11-Aug-2016 15:38, "Alisher Alimov"  wrote:

> All 2 methods clear cache entries, but also IgniteCache#destroy delete
> cache meta info from all nodes and theoretically IgniteCache#clear will be
> faster to clean cache
>
> With best regards
> Alisher Alimov
> alimovalis...@gmail.com
>
>
>
>
> On 11 авг. 2016 г., at 12:53, Alexey Kuznetsov 
> wrote:
>
> Alisher, Ravi.
>
> cache.clear() could take a lot of time in case of large grid / many
> entries.
>
> Will cache.destroy() + ignite.getOrCreateCache(ccfg) - faster?
>
> On Thu, Aug 11, 2016 at 4:39 PM, Alisher Alimov 
> wrote:
>
>> Hi!
>>
>> IgniteCache#close doesn’t clear data by contract for non local caches
>>
>> /**
>>  * Closes this cache instance.
>>  * 
>>  * For local cache equivalent to {@link #destroy()}.
>>  * For distributed caches, if called on clients, stops client cache, if 
>> called on a server node,
>>  * just closes this cache instance and does not destroy cache data.
>>  * 
>>  * After cache instance is closed another {@link IgniteCache} instance for 
>> the same
>>  * cache can be created using {@link Ignite#cache(String)} method.
>>  */
>>
>> To clear cache data you must invoke IgniteCache#clear() it’s will clear
>> cache contents
>>
>> Ignite doesn’t have method to clean data in all cache, but you can use
>>
>> Ignite#cacheNames(cacheName -> Ignite#cache(cacheName).clear())
>>
>> With best regards
>> Alisher Alimov
>> alimovalis...@gmail.com
>>
>>
>>
>>
>> On 11 авг. 2016 г., at 10:14, Alexey Kuznetsov 
>> wrote:
>>
>> Hi, Ravi.
>>
>> You may close all caches and recreate them (from code).
>> Will this work in your case?
>>
>> On Thu, Aug 11, 2016 at 2:04 PM, Ravi Puri 
>> wrote:
>>
>>> I want to clear all the data cached in server and client nodes. So how
>>> to do
>>> it as i have to do it another class.
>>>
>>>
>>>
>>> --
>>> View this message in context: http://apache-ignite-users.705
>>> 18.x6.nabble.com/Clear-the-cached-data-tp6946.html
>>> Sent from the Apache Ignite Users mailing list archive at Nabble.com
>>> .
>>>
>>
>>
>>
>> --
>> Alexey Kuznetsov
>> GridGain Systems
>> www.gridgain.com
>>
>>
>>
>
>
> --
> Alexey Kuznetsov
> GridGain Systems
> www.gridgain.com
>
>
>


Re: LOOK THORUGH THIS ERROR

2016-08-11 Thread Ravi kumar Puri
Ignite-hibernate 1.2 incubating jar.. is this what u meant?
On 11-Aug-2016 18:40, "Alisher Alimov"  wrote:

> Hi!
>
> Can you specify hibernate version that you use?
>
> With best regards
> Alisher Alimov
> alimovalis...@gmail.com
>
>
>
>
> On 11 авг. 2016 г., at 16:01, Ravi Puri  wrote:
>
> java.lang.NoSuchMethodError:
> org.hibernate.SessionFactory.openSession()Lorg/hibernate/Session;
> at
> org.apache.ignite.cache.store.hibernate.CacheHibernateStoreSessionList
> ener.onSessionStart(CacheHibernateStoreSessionListener.java:178)
> at
> org.apache.ignite.internal.processors.cache.store.
> GridCacheStoreManagerAdapter.sessionInit0(GridCacheStoreManagerAdapter.
> java:818)
> at
> org.apache.ignite.internal.processors.cache.store.
> GridCacheStoreManagerAdapter.loadCache(GridCacheStoreManagerAdapter.
> java:479)
> at
> org.apache.ignite.internal.processors.cache.distributed.
> dht.GridDhtCacheAdapter.localLoadCache(GridDhtCacheAdapter.java:515)
> at
> org.apache.ignite.internal.processors.cache.IgniteCacheProxy.
> localLoadCache(IgniteCacheProxy.java:387)
> at
> org.apache.ignite.internal.processors.cache.GridCacheAdapter$
> LoadCacheClosure.call(GridCacheAdapter.java:5716)
> at
> org.apache.ignite.internal.processors.cache.GridCacheAdapter$
> LoadCacheClosure.call(GridCacheAdapter.java:5663)
> at
> org.apache.ignite.internal.processors.closure.GridClosureProcessor$C2.
> execute(GridClosureProcessor.java:1789)
> at
> org.apache.ignite.internal.processors.job.GridJobWorker$
> 2.call(GridJobWorker.java:509)
> at
> org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.
> java:6397)
> at
> org.apache.ignite.internal.processors.job.GridJobWorker.
> execute0(GridJobWorker.java:503)
> at
> org.apache.ignite.internal.processors.job.GridJobWorker.
> body(GridJobWorker.java:456)
> at
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/LOOK-THORUGH-THIS-ERROR-tp6977.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com
> .
>
>
>


Re: Automatic persistence ?

2016-04-21 Thread Ravi kumar Puri
Yea i tried it.. but i want to use in eclipse n run d demo ..
On 21-Apr-2016 20:26, "Alexey Kuznetsov"  wrote:

> Hi, Ravi!
>
> Did you try example for POJO store that shipped with Ignite?
>
> See Readme.txt for this example.
>
> https://github.com/apache/ignite/blob/master/examples/schema-import/README.txt
>
> and docs: https://apacheignite.readme.io/docs/automatic-persistence
>
> Hope this help.
>
> On Thu, Apr 21, 2016 at 8:58 PM, Ravi Puri 
> wrote:
>
>> i generated all the related pojo and xml classess. please let me knw how
>> to
>> test that thing?
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-ignite-users.70518.x6.nabble.com/Automatic-persistence-tp4413.html
>> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>>
>
>
>
> --
> Alexey Kuznetsov
> GridGain Systems
> www.gridgain.com
>


Re: can we make generic class for cachehibernatepojostore?

2016-04-20 Thread Ravi kumar Puri
I didnt get u... u mean i have to add cachehibernatestore to client
classpath class.

And how can i load it to all d nodes?
As i use only one server n one node
On 21-Apr-2016 00:24, "vkulichenko"  wrote:

> Hi Ravi,
>
> Currently you need to have the cache store implementation class on all
> nodes. So you need to add CacheHibernatePersonStore on client's classpath
> to
> make it work.
>
> -Val
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/can-we-make-generic-class-for-cachehibernatepojostore-tp4355p4383.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>


Re: how to check whether server and client connected?

2016-04-13 Thread Ravi kumar Puri
How do i connect to client with my server . Tell me something related to
port or host adrzs
On 13-Apr-2016 17:46, "Alexei Scherbakov" 
wrote:

> Hi,
>
> Every Ignite node works either in server or client mode.
> Server nodes actually contain data and perform grid tasks, while client
> nodes provide API for working with server nodes remotely.
> Refer to https://apacheignite.readme.io/docs/clients-vs-servers for
> details.
>
> Note: where is a notion of "near" cache, which may be useful on client
> nodes for speeding up access to frequently accessed data.
> Refer to https://apacheignite.readme.io/docs/near-caches for details.
>
> 2016-04-13 12:25 GMT+03:00 Ravi Puri :
>
>> where to configure the client and server to interact.
>>
>> Ignition.setClientMode(true);
>>
>> this has been set but how to access local and remote nodes and how to
>> start
>> caching the data remotely available?
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-ignite-users.70518.x6.nabble.com/how-to-check-whether-server-and-client-connected-tp4117.html
>> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>>
>
>
>
> --
>
> Best regards,
> Alexei Scherbakov
>


Re: link cache to object class?

2016-04-13 Thread Ravi kumar Puri
So i need to define jst d cache name in configuratn n nothng else as their
attributes .how can i wil be able to relate to class .. even i dnr need any
bean or class path/package in bean form to get name in ignite.xml
configuration
On 13-Apr-2016 17:36, "Denis Magda"  wrote:

> Give a cache a name that is related to an objects simple class name.
>
> As an example, you have a class “Person”. Create the cache with the same
> name and get a reference to it using ignite.cache(“Person”)
>
> —
> Denis
>
> > On Apr 13, 2016, at 1:35 PM, Ravi Puri 
> wrote:
> >
> > how can i link the cache created in configuration to the object class so
> that
> > i can decide which cache is for which class?
> >
> >
> >
> > --
> > View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/link-cache-to-object-class-tp4119.html
> > Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>
>