There is nothing to do. Hibernate and Spring include ehcache.
They will use the defaultCache configuration in ehcache.xml, which will be somewhere in the classpath.
It is a good idea to create specific cache configurations in ehcache.xml