mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1329 - Ebean 11.12.1 broken when using ScalarTypeConverter with enum
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package org.tests.model.ddd;
|
||||
|
||||
import org.tests.model.ivo.Oid;
|
||||
import org.tests.model.ivo.converter.AnEnumType;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
@@ -15,6 +16,8 @@ public class DExhEntity {
|
||||
|
||||
String exhange;
|
||||
|
||||
AnEnumType anEnumType;
|
||||
|
||||
@Version
|
||||
Timestamp lastUpdated;
|
||||
|
||||
@@ -42,4 +45,11 @@ public class DExhEntity {
|
||||
this.lastUpdated = lastUpdated;
|
||||
}
|
||||
|
||||
public AnEnumType getAnEnumType() {
|
||||
return anEnumType;
|
||||
}
|
||||
|
||||
public void setAnEnumType(AnEnumType anEnumType) {
|
||||
this.anEnumType = anEnumType;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user