db2customsqltest.java

来自「hibernate 开源框架的代码 jar包希望大家能喜欢」· Java 代码 · 共 36 行

JAVA
36
字号
//$Id$package org.hibernate.test.sql.hand.custom.db2;import junit.framework.Test;import org.hibernate.dialect.DB2Dialect;import org.hibernate.dialect.Dialect;import org.hibernate.junit.functional.FunctionalTestClassTestSuite;import org.hibernate.test.sql.hand.custom.CustomStoredProcTestSupport;/** * Custom SQL tests for DB2 *  * @author Max Rydahl Andersen */public class DB2CustomSQLTest extends CustomStoredProcTestSupport {		public DB2CustomSQLTest(String str) {		super(str);	}	public String[] getMappings() {		return new String[] { "sql/hand/custom/db2/Mappings.hbm.xml" };	}	public static Test suite() {		return new FunctionalTestClassTestSuite( DB2CustomSQLTest.class );	}	public boolean appliesTo(Dialect dialect) {		return ( dialect instanceof DB2Dialect);	}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?