To avoid duplication, let me just point to the other blog location.
http://blog.terracotta.org/2013/05/16/boosting-hibernate-performance-with-in-memory-data-management/
http://blog.terracotta.org/2013/05/16/boosting-hibernate-performance-with-in-memory-data-management/