📄 genericsinheritancetest.java
字号:
//$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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -