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

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