java - conflict two persistence.xml -


I have a conflict persistence.xml file, one of them is server configuration with filters and other test configurations when I run the test Sometimes the Nuts server uses the JPA configuration and ignores the test configuration. What is the solution in this case

  & lt; Build & gt; & Lt; FinalName & gt; Qwe & lt; / FinalName & gt; & Lt; Filter & gt; & Lt; Filter & gt; Conf.prop & lt; / Filter & gt; & Lt; / Filters & gt; & Lt; TestResources & gt; & Lt; TestResource & gt; & Lt; Directory & gt; Src / trial / resources & lt; / Directory & gt; & Lt; / TestResource & gt; & Lt; / TestResources & gt; & Lt; Resources & gt; & Lt; Resources & gt; & Lt; Directory & gt; Conf & lt; / Directory & gt; & Lt; Filtering & gt; True & lt; / Filtering & gt; & Lt; / Resources & gt; & Lt; / Resources & gt; & Lt; / Create & gt;  


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -