]> git.mxchange.org Git - jcustomer-core.git/commit
Continued with JPA:
authorRoland Haeder <roland@mxchange.org>
Wed, 23 Sep 2015 12:44:18 +0000 (14:44 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 23 Sep 2015 12:44:18 +0000 (14:44 +0200)
commite7a772f50e473e4ce0041d685eef9adc9e7a42c1
tree34a08f9cc1b8b52f966eced8c45ad2c8e7ac6a8b
parent6126a768e5387d79605a680f24421a2662b02c24
Continued with JPA:
- added @OneToMany annotation
- also call copyAll() to transfer properties from customer.contact to this.contact in ShopCustomer class
- added method copyAll() for Product + implemented it
- no need for length=x on integers + renamed entity name to all lower-case
- made BaseProduct to an entity
- updated jcoreee.jar
Signed-off-by:Roland Häder <roland@mxchange.org>
lib/jcoreee.jar
src/org/mxchange/jshopcore/model/category/BaseCategory.java
src/org/mxchange/jshopcore/model/customer/ShopCustomer.java
src/org/mxchange/jshopcore/model/order/ShopOrder.java
src/org/mxchange/jshopcore/model/product/BaseProduct.java
src/org/mxchange/jshopcore/model/product/Product.java