mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Test only change - fix keys for testing against Oracle
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user