Hi,
 
I'm facing the following issue: I have to DB instances, one for testing
(an in-memory HSQLDB database) and one for production (MySQL). To make
the switch between the two, I came up with the following setup:

1.      Maven project, with OpenEJB registered for testing (I won't show
the pom here)
2.      One persistence.xml with two persistence units (I tried to put
one persistence.xml in /src/test/resources, but it didn't got recognized
during testing)
        

 
Adrian Burri
Software Engineering 

 

Reply via email to