Dear folks,
I have 3 hibernate session factories using different data sources configured, and using a static init block in the HibernateUtil.java class to initialize the three session factories. All of the three session factories want to use tree cache but only the first session factory can properly register the tree cache. There was always this error when 2nd session factory was initializing: tree cache already registered.
I'd be obliged to anyone who could help me get out of this trouble.
Hibernate version: 3.2 cr4
JBoss version: 4.0.4 ga + NetBeans 5.5 bundle
Best Regards,
ellen
|