mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
FIX: load all props from cache when inheritance is involved (#1366)
This commit is contained in:
committed by
Rob Bygrave
parent
756f867ed2
commit
49d9d88fbe
@@ -0,0 +1,29 @@
|
||||
package org.tests.model.basic;
|
||||
|
||||
import javax.persistence.DiscriminatorValue;
|
||||
import javax.persistence.Entity;
|
||||
|
||||
|
||||
/**
|
||||
* Child bean B
|
||||
*/
|
||||
@Entity
|
||||
@DiscriminatorValue("childB")
|
||||
public class OCachedInhChildB extends OCachedInhRoot {
|
||||
String childBData;
|
||||
|
||||
/**
|
||||
* @return the childBData
|
||||
*/
|
||||
public String getChildBData() {
|
||||
return childBData;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param childBData
|
||||
* the childBData to set
|
||||
*/
|
||||
public void setChildBData(String childBData) {
|
||||
this.childBData = childBData;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user