title: JPA/Glassfish: persistence.xml ignored?
body: <p>I currently have kind of a problem. </p>
  
  <p>I have a small project defining a Bean and implementing this furthermore the project contains some model schemes for hibernate.</p>
  
  <p>The Bean implementation looks something like this:</p>
  
  <pre><code> public class TestBean implements TBean {
  
      @PersistenceContext
      protected EntityManager em;
  
      public TestBean() {
      }
  
      public void createEntries(User user) {
             em.persist(user);
         }
   }
  </code></pre>
  
  <p>I think that this should work fine.</p>
  
  <p>My problem now is, that I did some changes in my persistence.xml but all this changes seem to be ignored. I even deleted the whole content of the persistence.xml and changed the text in it to complete nonsense - nothing changes. My question now is, if glassfish caches the persistence.xml somehow and if yes how can I avoid this caching, and if now - what am I doing wrong ??</p>
  
  <p>Thank you very much :) </p>