jeudi 18 juin 2015

Persistence.xml overridden in Arquillian tests

Arquillian examples mainly show how to construct WarArchive, JavaArchive, etc. I can't find any good example how to override one of jar files which exists in already compile war file.

The reason is that one of the jars contains persistence.xml which I wan't to override to define for instance hbm2ddl.auto etc.

What is the proper way to do that?

Aucun commentaire:

Enregistrer un commentaire