oraclecustomsqltest.java
来自「hibernate 开源框架的代码 jar包希望大家能喜欢」· Java 代码 · 共 37 行
JAVA
37 行
//$Id$package org.hibernate.test.sql.hand.custom.oracle;import junit.framework.Test;import org.hibernate.dialect.DataDirectOracle9Dialect;import org.hibernate.dialect.Dialect;import org.hibernate.dialect.Oracle9Dialect;import org.hibernate.junit.functional.FunctionalTestClassTestSuite;import org.hibernate.test.sql.hand.custom.CustomStoredProcTestSupport;/** * Custom SQL tests for Oracle * * @author Gavin King */public class OracleCustomSQLTest extends CustomStoredProcTestSupport { public OracleCustomSQLTest(String str) { super(str); } public String[] getMappings() { return new String[] { "sql/hand/custom/oracle/Mappings.hbm.xml", "sql/hand/custom/oracle/StoredProcedures.hbm.xml" }; } public static Test suite() { return new FunctionalTestClassTestSuite( OracleCustomSQLTest.class ); } public boolean appliesTo(Dialect dialect) { return ( dialect instanceof Oracle9Dialect ) && !( dialect instanceof DataDirectOracle9Dialect ); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?