Re: how to fetch data when its loaded using cache.loadCache(null,100_00)?

2016-04-28 Thread vkulichenko
Hi Ravi, I believe you already had the similar issue. You should always make sure that Hibernate entity is fully initializes before you close the Hibernate session and store the value in cache. If this doesn't help, please show the whole trace (looks like it's truncated). -Val -- View this me

Re: how to fetch data when its loaded using cache.loadCache(null,100_00)?

2016-04-28 Thread Ravi Puri
i am getting this error while fetching cache.get(1); at client side Exception in thread "main" org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersiste

how to fetch data when its loaded using cache.loadCache(null,100_00)?

2016-04-28 Thread Ravi Puri
i loaded my data into cache from database id fname Lname 1 ravi puri 2 ravi load 3 ravi nikita configuration usign cache.loadCache(null,10). but i want to access data from cache. so how can i do it? -- View this message in context: http://apache-ign