Playframework Avaje-Ebean复合型

Playframework Avaje-Ebean复合型,playframework,playframework-2.0,ebean,Playframework,Playframework 2.0,Ebean,我在玩!框架2 我正在尝试写一个EBean复合类型 我写了这样的东西 public class A implements CompoundType<A>{ .... implemented all the methods.. } 当我转储DDL时,我似乎无法在表“b”中找到对“a”的引用 我做错了什么 编辑 实际上,我不知道会发生什么,也不知道列定义是如何发生的。CompoundType接口具有getProperties方法-该方法返回CompoundTypeProperty的

我在玩!框架2

我正在尝试写一个EBean复合类型

我写了这样的东西

public class A implements CompoundType<A>{
 .... implemented all the methods.. 
}
当我转储DDL时,我似乎无法在表“b”中找到对“a”的引用

我做错了什么

编辑 实际上,我不知道会发生什么,也不知道列定义是如何发生的。
CompoundType
接口具有
getProperties
方法-该方法返回
CompoundTypeProperty
的数组。属性API具有
getName
。因此,我假设EBean在配置阶段调用此方法,以了解我的复合类型公开了哪些列

我希望这些列嵌入(不带注释)到声明类中。 然而,我不清楚这如何与
@Column
注释结合使用。所以我可能错过了什么


任何澄清都会有帮助,因为这方面的文档非常糟糕

您可能忘记了B类中A属性下的
@Column
注释,否?尝试添加“Column”-无效。
@Entity
public class B extends Model{

    public A a;

}