Muthu,
Ok, I used your code, created the table in mysql for posts and inserted one 
line.
On accessing http://localhost:8080/dcm/posts?id=123 what I have in console

==== in ObjectCacheService.getPostById ==== for id : 123
==== in ObjectCacheService.getPostById ==== for searchQuery : 
==== in ObjectCacheService.getPostById ==== returning : 
[com.brocade.dcm.domain.model.Posts@982ecc4]

and the data for the post is correctly displayed in the browser.I also checked 
if Ignite cache is called. No hanging.
-- Roman


    On Thursday, May 25, 2017 2:40 PM, Roman Shtykh <rsht...@yahoo.com> wrote:
 

 Muthu,
It would be great to have a much smaller project with detailed steps on how to 
reproduce it.Also, will it hang when you change the cache to the default L2 
cache (<cache>)?
-- Roman


    On Thursday, May 25, 2017 2:24 PM, mlekshma <muthu.kumara...@gmail.com> 
wrote:
 

 Hi Roman,

Thanks for the pointer to the dependencies i will take a re-look at it. The
application starts fine....but the db get call never returns. For example if
you try using the single rest point (/dcm/posts?id=1) to make a db get it
will never return...that's the problem.





--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/MyBatis-Ignite-L2-cache-Integration-does-not-work-with-Ignite-2-0-tp13126p13134.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


   

   

Reply via email to