mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
FIX: Splitcolumns must return an empty array if string was empty (#1315)
* Add test suite from rpraml * FIX: Splitcolumns must return an empty array if string was empty * Just the reference scripts
This commit is contained in:
committed by
Rob Bygrave
parent
0e1c815826
commit
b642b3c644
@@ -6,6 +6,10 @@ import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.Table;
|
||||
import javax.validation.constraints.Size;
|
||||
|
||||
import io.ebean.annotation.Index;
|
||||
import io.ebean.annotation.NotNull;
|
||||
|
||||
@Entity
|
||||
@Table(name = "migtest_e_ref")
|
||||
@@ -16,4 +20,9 @@ public class ERef {
|
||||
|
||||
@OneToMany
|
||||
List<EBasic> basics;
|
||||
|
||||
@NotNull
|
||||
@Index(unique = true)
|
||||
@Size(max=127)
|
||||
String name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user