Re: Override hibernate.cfg.xml with QaModule hibernate config

2015-02-06 Thread George Christman
Perfect, thanks Kalle.

On Thu, Feb 5, 2015 at 3:53 PM, Kalle Korhonen kalle.o.korho...@gmail.com
wrote:

 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.
 




-- 
George Christman
CEO
www.CarDaddy.com
P.O. Box 735
Johnstown, New York


Re: Override hibernate.cfg.xml with QaModule hibernate config

2015-02-05 Thread Kalle Korhonen
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.



Override hibernate.cfg.xml with QaModule hibernate config

2015-02-05 Thread George Christman
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.