]> git.mxchange.org Git - jfinancials-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>
Sat, 25 Apr 2020 16:28:04 +0000 (18:28 +0200)
commit309659f72e5bbda3df5214eab101a5f02dc679c9
tree0c7df1ca5b7071e7ae040f857328e66a03f5dc0e
parent4de955e2f49c72d8feca94d14601af1321faf5c2
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/jfinancials/enterprise/product/BaseFinancialsProductEnterpriseBean.java
src/java/org/mxchange/jproduct/model/category/FinancialsAdminProductCategorySessionBean.java
src/java/org/mxchange/jproduct/model/product/FinancialsAdminGenericProductSessionBean.java