genericsinheritancetest.java
来自「hibernate3.2.6源码和jar包」· Java 代码 · 共 25 行
JAVA
25 行
//$Id: $
package org.hibernate.test.annotations.genericsinheritance;
import org.hibernate.test.annotations.TestCase;
import org.hibernate.Session;
/**
* @author Emmanuel Bernard
*/
public class GenericsInheritanceTest extends TestCase {
public void testMapping() throws Exception {
Session s = openSession();
s.close();
//mapping is tested
}
protected Class[] getMappings() {
return new Class[] {
ChildHierarchy1.class,
ParentHierarchy1.class,
ChildHierarchy22.class,
ParentHierarchy22.class
};
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?