#2279 - Remove _ebean_getMarker() from EntityBean interface - not actually required

This commit is contained in:
rbygrave
2021-07-30 14:51:38 +12:00
parent 4aef0ad459
commit 777d322222
3 changed files with 1 additions and 16 deletions
@@ -27,17 +27,6 @@ public interface EntityBean extends Serializable {
throw new NotEnhancedException();
}
/**
* Return the enhancement marker value.
* <p>
* This is the class name of the enhanced class and used to check that all
* entity classes are enhanced (specifically not just a super class).
* </p>
*/
default String _ebean_getMarker() {
throw new NotEnhancedException();
}
/**
* Create and return a new entity bean instance.
*/
@@ -28,11 +28,6 @@ class ElementEntityBean implements EntityBean {
return properties[pos];
}
@Override
public String _ebean_getMarker() {
return null;
}
@Override
public Object _ebean_newInstance() {
return new ElementEntityBean(properties);
+1
View File
@@ -3,4 +3,5 @@ profile-location: true
entity-packages: org,misc
transactional-packages: org
querybean-packages: none
synthetic: false