mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#2044 - Using @AttributeOverrides also override length, scale and columnDefinition
This commit is contained in:
@@ -24,7 +24,9 @@ public class EPerson2 {
|
||||
@Embedded
|
||||
@AttributeOverrides({
|
||||
@AttributeOverride(name = "city", column = @Column(nullable = false)),
|
||||
@AttributeOverride(name = "status", column = @Column(nullable = false))
|
||||
@AttributeOverride(name = "status", column = @Column(nullable = false)),
|
||||
@AttributeOverride(name = "suburb", column = @Column(length = 100)),
|
||||
@AttributeOverride(name = "street", column = @Column(columnDefinition = "varchar(10)"))
|
||||
})
|
||||
EAddress address;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user