1 | public class TriggerGeneratedValuesWithCachingTest extends AbstractGeneratedPropertyTest {↵ | | 1 | public class ↵
|
|
2 | public TriggerGeneratedValuesWithCaching↵ | | 2 | OracleCustomSQLTest extends CustomStoredProcTestSupport {↵
|
|
3 | Test(String x) {↵ | | 3 | public OracleCustomSQLTest(String str) {↵
|
4 | super( x );↵ | | 4 | super(str);↵
|
5 | }↵ | | 5 | }↵
|
|
6 | public final String[] getMappings() {↵ | | 6 | public String[] getMappings() {↵
|
7 | return new String[] { "generated/GeneratedPropertyEntity.hbm.xml" };↵ | | 7 | return new String[] { "↵
|
8 | }↵ | | |
|
|
9 | public boolean appliesTo(Dialect dialect) {↵ | | |
|
10 | // currently have only defined triggers for oracle...↵ | | |
|
11 | // TODO : add more triggers for dialects which allow mods in triggers...↵ | | |
|
12 | return ( dialect instanceof Oracle9iDialect );↵ | | 8 | sql/hand/custom/oracle/Mappings.hbm.xml", "sql/hand/custom/oracle/StoredProcedures.hbm.xml" };↵
|
13 | }↵ | | 9 | }↵
|
|
14 | public static Test suite() {↵ | | 10 | public static Test suite() {↵
|
15 | return new FunctionalTestClassTestSuite( TriggerGeneratedValuesWithCachingTest.class↵ | | 11 | return new FunctionalTestClassTestSuite( OracleCustomSQLTest.class );↵
|
| | | 12 | }↵
|
|
| | | 13 | public boolean appliesTo(Dialect dialect) {↵
|
16 | ) | | 14 | return ( dialect instanceof Oracle9iDialect )
|