1 | public class TriggerGeneratedValuesWithCachingTest extends AbstractGeneratedPropertyTest {↵ | | 1 | public class ManyToManyAssociationClassCompositeIdTest extends AbstractManyToManyAssociationClassTest {↵
|
| | | 2 |
↵
|
2 | public TriggerGeneratedValuesWithCachingTest(String x) {↵ | | 3 | public ManyToManyAssociationClassCompositeIdTest(String string) {
↵
|
3 | super( x );↵ | | 4 | super( string );
↵
|
4 | }↵ | | 5 | }↵
|
|
| | | 6 |
↵
|
5 | public final String[] getMappings() {↵ | | 7 | public String[] getMappings() {
↵
|
6 | return new String[] { "generated/GeneratedPropertyEntity.hbm.xml" };↵ | | 8 | return new String[] { "manytomanyassociationclass/compositeid/Mappings.hbm.xml" };
↵
|
7 | }↵ | | 9 | }↵
|
|
| | | 10 |
↵
|
8 | public boolean appliesTo(Dialect dialect) {↵ | | 11 | public static Test suite() {
↵
|
9 | // currently have only defined triggers for oracle...↵ | | 12 | ↵
|
10 | // TODO : add more triggers for dialects which allow mods in triggers...↵ | | |
|
11 | return ( dialect instanceof Oracle9iDialect );↵ | | 13 | return new FunctionalTestClassTestSuite( ManyToManyAssociationClassCompositeIdTest.class );
↵
|
12 | }↵ | | 14 | }↵
|
|
| | | 15 |
↵
|
13 | public static Test suite() {↵ | | 16 | public Membership createMembership( String name ) {
↵
|
14 | return new FunctionalTestClassTestSuite( TriggerGeneratedValuesWithCachingTest.class ) | | 17 | return new MembershipWithCompositeId( name )
|