Hallo Eric,
actually I developed a simple hibernate sample wihin "ehcache-spring-
example-1" an it works very well.
I switched of the 2nd-level cache handling and deligates to the
"ehcache-spring-annotations", see below
<pre>
...
<!-- + Hibernate -->
<bean id="sessionFactory"
class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean">
<property name="dataSource" ref="dataSource" />
<property name="namingStrategy">
<bean class="org.hibernate.cfg.ImprovedNamingStrategy" />
</property>
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">org.hibernate.dialect.H2Dialect</
prop>
<prop key="hibernate.show_sql">false</prop>
<prop key="hibernate.format_sql">true</prop>
<prop key="hibernate.generate_statistics">true</prop>
<prop key="hibernate.bytecode.provider">javassist</prop>
<prop key="hibernate.cache.use_second_level_cache">false</prop>
</props>
</property>
<property name="packagesToScan"
value="com.googlecode.ehcache.annotations.examples" />
</bean>
<!-- + HibernateTransactionManager -->
<bean id="transactionManager"
class="org.springframework.orm.hibernate3.HibernateTransactionManager">
<property name="sessionFactory" ref="sessionFactory" />
</bean>
<!-- + annotation HibernateTransactionManager -->
<tx:annotation-driven transaction-manager="transactionManager" proxy-
target-class="false" />
...
</pre>