]> git.mxchange.org Git - pizzaservice-ejb.git/commit
Product-only:
authorRoland Häder <roland@mxchange.org>
Sat, 25 Apr 2020 16:25:40 +0000 (18:25 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 10 Jun 2020 17:19:53 +0000 (19:19 +0200)
commitab364e59de8b78bdba93a0e4d7945f1e7af20f37
tree3a43f011d754371b644b2459140d272eac5e5b5d
parentda85e5eb0018f38611cd49232fe24010237e6cdd
Product-only:
- updating an entity doesn't work with a persist() invocation, not at least
  what JPA 2.1 says. As here JPA 2.1 is honored and not a specific
  implementation like Hibernate is, persist() will lead to a double entry.
  You need to use find() + copy all fields + merge() to archive this the proper
  way under JPA 2.1
- updated method invocations due to updated jproduct-core.jar

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jproduct/model/category/PizzaAdminProductCategorySessionBean.java
src/java/org/mxchange/jproduct/model/product/PizzaAdminGenericProductSessionBean.java
src/java/org/mxchange/pizzaapplication/enterprise/product/BasePizzaProductEnterpriseBean.java