mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#2220 - DDL generation of nullable columns expected with nullable Embedded containing non null properties
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
package org.tests.model.embedded;
|
||||
|
||||
import io.ebean.annotation.NotNull;
|
||||
|
||||
import javax.persistence.Embeddable;
|
||||
import java.util.Date;
|
||||
|
||||
@Embeddable
|
||||
public class EEmbDatePeriod {
|
||||
|
||||
@NotNull
|
||||
Date date1;
|
||||
@NotNull
|
||||
Date date2;
|
||||
|
||||
public Date getDate1() {
|
||||
|
||||
Reference in New Issue
Block a user