Test only change - fix keys for testing against Oracle

This commit is contained in:
Rob Bygrave
2018-02-22 22:10:59 +13:00
parent 4d122ea05b
commit dd907cc4bc
2 changed files with 3 additions and 5 deletions
@@ -7,11 +7,11 @@ import javax.validation.constraints.Size;
@Embeddable
public class ItemKey {
@Size(max=127)
private int customer;
@Column(name = "itemnumber")
@Size(max=127)
@Size(max = 127)
private String itemNumber;
public int getCustomer() {
@@ -1,10 +1,9 @@
package org.tests.model.composite;
import java.io.Serializable;
import javax.persistence.Embeddable;
import javax.validation.constraints.Size;
import java.io.Serializable;
/**
* @author rnentjes
@@ -16,7 +15,6 @@ public class ROrderPK implements Serializable {
@Size(max=127)
private String company;
@Size(max=127)
private Integer orderNumber;
public ROrderPK() {