Use different execution modes for production and testing, then contribute a custom HibernateConfigurer that supplies hibernate configuration file with mode specific name, e.g. "hibernate-production.cfg.xml" or "hibernate-test.cfg.xml".
Kalle On Thu, Feb 5, 2015 at 11:09 AM, George Christman <gchrist...@cardaddy.com> wrote: > Hi guys, I'm trying to setup an in memory database for selenium testing. > I'm wondering if someone new how to override my hibernate.cfg.xml file with > something like contributeHibernateEntityPackageManager without a conflict > with the xml. Thanks in advance. >