3 Replies Latest reply on May 20, 2015 9:39 AM by smarlow

    Persistence unitName not specified problem

    atemiz

      hello

       

      I am using "wildfly-9.0.0.CR1".

       

      I need to use 2 persistent unit, and although I specified  2 persistence units, I encountered this problem.

       

      "Persistence unitName was not specified and there are 2 persistence unit definitions in application deployment deployment \"wildfly-hibernate4.war\".  Either change the application deployment to have only one persistence unit definition or specify the unitName for each reference to a persistence unit.""

       

      how can I solve the problem ?

       

      kind regards

       

      Ahmet Temiz