mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#836 - ENH: Add support for @DbArray even for H2 db
This commit is contained in:
@@ -27,6 +27,9 @@ public class EArrayBean {
|
||||
@DbArray
|
||||
List<Long> otherIds = new ArrayList<Long>();
|
||||
|
||||
@DbArray
|
||||
List<Double> doubs;
|
||||
|
||||
@Version
|
||||
Long version;
|
||||
|
||||
@@ -70,6 +73,14 @@ public class EArrayBean {
|
||||
this.otherIds = otherIds;
|
||||
}
|
||||
|
||||
public List<Double> getDoubs() {
|
||||
return doubs;
|
||||
}
|
||||
|
||||
public void setDoubs(List<Double> doubs) {
|
||||
this.doubs = doubs;
|
||||
}
|
||||
|
||||
public Long getVersion() {
|
||||
return version;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user