1 | public class MySQLCustomSQLTest extends CustomStoredProcTestSupport {↵ | | 1 | public class OracleCustomSQLTest extends CustomStoredProcTestSupport {↵
|
|
2 | public MySQLCustomSQLTest(String str) {↵ | | 2 | public OracleCustomSQLTest(String str) {↵
|
3 | super(str);↵ | | 3 | super(str);↵
|
4 | }↵ | | 4 | }↵
|
|
5 | public String[] getMappings() {↵ | | 5 | public String[] getMappings() {↵
|
6 | return new String[] { "sql/hand/custom/mysql/Mappings.hbm.xml" };↵ | | 6 | return new String[] { "sql/hand/custom/oracle/Mappings.hbm.xml", "sql/hand/custom/oracle/StoredProcedures.hbm.xml" };↵
|
7 | }↵ | | 7 | }↵
|
|
8 | public static Test suite() {↵ | | 8 | public static Test suite() {↵
|
9 | return new FunctionalTestClassTestSuite( MySQLCustomSQLTest.class );↵ | | 9 | return new FunctionalTestClassTestSuite( OracleCustomSQLTest.class );↵
|
10 | }↵ | | 10 | }↵
|
|
11 | public boolean appliesTo(Dialect dialect) {↵ | | 11 | public boolean appliesTo(Dialect dialect) {↵
|
12 | return ( dialect instanceof MySQLDialect ) | | 12 | return ( dialect instanceof Oracle9iDialect )
|