{"push_id":1077082899,"size":2,"distinct_size":2,"ref":"refs/heads/acquire_AffableBean","head":"d6e473af07c6aa08cea71b82a75e8aff77ef3af3","before":"8e0fca4535afaaee1b66543799c75ac139a4abae","commits":[{"sha":"fdc836bcc64650c2c0830fc48659ce4533f84466","author":{"email":"57cae41de8f04917cbceb36b3b49ccbb696cddef@mikes-mbp.hsd1.fl.comcast.net","name":"mikerocha"},"message":"Utilizing JPA's EntityManager\n... I have to comment @PersistenceContext(unitName = \"AffableBeanPU\")\n    otherwise I get a deployment error\n    \"Could not resolve a persistence unit corresponding to the persistence-context-ref-name\"\n... reconciled minor difference between MV and BV\nhttps://netbeans.org/kb/docs/javaee/ecommerce/transaction.html#entityManager","distinct":true,"url":"https://api.github.com/repos/openmic62/code_practice/commits/fdc836bcc64650c2c0830fc48659ce4533f84466"},{"sha":"d6e473af07c6aa08cea71b82a75e8aff77ef3af3","author":{"email":"57cae41de8f04917cbceb36b3b49ccbb696cddef@mikes-mbp.hsd1.fl.comcast.net","name":"mikerocha"},"message":"Utilizing JPA's EntityManager\n... I have to comment @PersistenceContext(unitName = \"AffableBeanPU\")\n    otherwise I get a deployment error\n    \"Could not resolve a persistence unit corresponding to the persistence-context-ref-name\"\n\nSolution: add element to web.xml\n    <!--mlr 160421 - begin -->\n    <!--\n    https://vaadin.com/web/matti/blog/-/blogs/using-jpacontainer-in-jee6-server-is-now-much-simpler\n        See section \"Publish persistence context to JNDI\"\n        Adding the <persistence-context-ref> element below solved the deployment error\n        \"Severe:   Exception while preparing the app : Could not resolve a persistence unit corresponding to the persistence-context-ref-name [session.OrderManager/em] in the scope of the module called [affableBean]. Please verify your application.\"\n        Caused by adding to OrderManager.java ->\"@PersistenceContext(unitName = \"affablebeanPU\")<-\n    -->\n\nhttps://netbeans.org/kb/docs/javaee/ecommerce/transaction.html#entityManager","distinct":true,"url":"https://api.github.com/repos/openmic62/code_practice/commits/d6e473af07c6aa08cea71b82a75e8aff77ef3af3"}]}