From: Roland Haeder Date: Thu, 7 Apr 2016 09:29:58 +0000 (+0200) Subject: Continued a bit: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=97ad8f4720434bd13fc3894251af8cfcd1bced71;p=jshop-core.git Continued a bit: - size only applies for strings, no need here (cleanup) - updated jar(s) --- diff --git a/lib/jcontacts-core.jar b/lib/jcontacts-core.jar index 6c00138..59559ef 100644 Binary files a/lib/jcontacts-core.jar and b/lib/jcontacts-core.jar differ diff --git a/src/org/mxchange/jshopcore/model/category/ProductCategory.java b/src/org/mxchange/jshopcore/model/category/ProductCategory.java index cc63278..37e5444 100644 --- a/src/org/mxchange/jshopcore/model/category/ProductCategory.java +++ b/src/org/mxchange/jshopcore/model/category/ProductCategory.java @@ -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; /** diff --git a/src/org/mxchange/jshopcore/model/order/items/OrderItem.java b/src/org/mxchange/jshopcore/model/order/items/OrderItem.java index 95b2d15..14cac31 100644 --- a/src/org/mxchange/jshopcore/model/order/items/OrderItem.java +++ b/src/org/mxchange/jshopcore/model/order/items/OrderItem.java @@ -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; /** diff --git a/src/org/mxchange/jshopcore/model/product/GenericProduct.java b/src/org/mxchange/jshopcore/model/product/GenericProduct.java index d1e952f..3f34e79 100644 --- a/src/org/mxchange/jshopcore/model/product/GenericProduct.java +++ b/src/org/mxchange/jshopcore/model/product/GenericProduct.java @@ -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; /**