1 Reply Latest reply on Dec 4, 2006 6:45 PM by olvin

    When entities.jar updated => should not update persistence.x

    olvin

      Hello,

      I have one .jar with a lot of entities and a persistence.xml file with two "persistence-unit".

      In production environment, there will be a lot of servers on different sites with the .jar.

      In the future, how can I "extract" and isolate the persistence.xml file from the .jar to update only the .jar file and not the persistence.xml file to maintain the config of the persistence-units ?

      Thanks in advance.

      Olivier

        • 1. Re: When entities.jar updated => should not update persisten
          olvin

          Just another way to ask you my question :

          I have one .jar with all my entities shared by some .ear.
          I configure the persistence.xml file in the .jar to bind to the good datasources.

          So, in the future, how can I update the .jar to keep the configuration in the persistence.xml ? Is it possible ?

          Thanks,

          Olivier