]> git.mxchange.org Git - jproduct-core.git/commitdiff
Continued a bit:
authorRoland Haeder <roland@mxchange.org>
Thu, 7 Apr 2016 09:29:58 +0000 (11:29 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 7 Apr 2016 09:29:58 +0000 (11:29 +0200)
- size only applies for strings, no need here (cleanup)
- updated jar(s)

lib/jcontacts-core.jar
src/org/mxchange/jshopcore/model/category/ProductCategory.java
src/org/mxchange/jshopcore/model/order/items/OrderItem.java
src/org/mxchange/jshopcore/model/product/GenericProduct.java

index 6c00138861dd02dae05115842913099b8f9d10f7..59559efe241a09d9c37e438697cafbb84fa98ae1 100644 (file)
Binary files a/lib/jcontacts-core.jar and b/lib/jcontacts-core.jar differ
index cc632786b728f9ffafcf5224f88bd59015e5a076..37e544480ffdf671235c98945e64dca21223539c 100644 (file)
@@ -46,7 +46,7 @@ public class ProductCategory implements Category {
         */
        @Id
        @GeneratedValue (strategy = GenerationType.IDENTITY)
-       @Column (name = "category_id", length = 20, nullable = false)
+       @Column (name = "category_id", nullable = false)
        private Long categoryId;
 
        /**
index 95b2d15fa96edf3319efa40c35488c36ed56c303..14cac31159928b1bef480d2bc41ec25e3b5bcb07 100644 (file)
@@ -71,7 +71,7 @@ public class OrderItem extends BaseItem implements AddableBasketItem {
         * Item amount
         */
        @Basic (optional = false)
-       @Column (name = "order_amount", length = 20, nullable = false)
+       @Column (name = "order_amount", nullable = false)
        private Long orderedAmount;
 
        /**
index d1e952f066ee9893fb297804cbbd22bcc08449f6..3f34e792fdd7f88d402573eff2a589915ad84817 100644 (file)
@@ -63,7 +63,7 @@ public class GenericProduct implements Product {
         */
        @Id
        @GeneratedValue (strategy = GenerationType.IDENTITY)
-       @Column (name = "product_id", length = 20, nullable = false, updatable = false)
+       @Column (name = "product_id", nullable = false, updatable = false)
        private Long productId;
 
        /**