| org.apache.ojb.junit.ODMGTestCase org.apache.ojb.odmg.M2NTest
M2NTest | public class M2NTest extends ODMGTestCase (Code) | | Test m:n relation handling with the odmg-api. The mandatory auto-update/auto-delete
setting are 'false' in that case equals to 'LINK'.
TODO: we need more tests doing delete/update operations on M:N relations
author: Armin Waibel version: $Id: M2NTest.java,v 1.3.2.6 2005/06/04 17:35:19 arminw Exp $ |
Inner Class :public static class MovieManageableCollectionImpl implements MovieManageableCollection | |
Inner Class :public static class Actor | |
Inner Class :public static interface Movie | |
Inner Class :public static class MovieImpl implements Movie | |
Inner Class :public static class Role | |
Inner Class :public static class County | |
Inner Class :public static interface OfficeProfile | |
Inner Class :public static class OfficeProfileImpl implements OfficeProfile | |
LINK | final static int LINK(Code) | | |
NONE | final static int NONE(Code) | | |
OBJECT | final static int OBJECT(Code) | | |
oldImpliciteWriteLock | boolean oldImpliciteWriteLock(Code) | | |
buildActorWithMovies | Actor buildActorWithMovies(String postfixId)(Code) | | |
buildMovieWithActors | Movie buildMovieWithActors(String postfixId)(Code) | | Returns 1 movie object with 3 actor objects in actors-collection
and 2 actor objects in actors2-collection
|
buildMovieWithActorsAndBackReferences | Movie buildMovieWithActorsAndBackReferences(String postfixId)(Code) | | Returns 1 movie object m1 with 3 actor objects and one actor object with
back-reference to movie object m1 + 2 new movies
|
changeActorCollectionDescriptorTo | void changeActorCollectionDescriptorTo(boolean autoRetrieve, int autoUpdate, int autoDelete, boolean proxy)(Code) | | |
changeMovieCollectionDescriptorTo | void changeMovieCollectionDescriptorTo(boolean autoRetrieve, int autoUpdate, int autoDelete, boolean proxy)(Code) | | |
doTestRemoveAssociation | public void doTestRemoveAssociation() throws Exception(Code) | | |
doTestStoreComplex_2 | public void doTestStoreComplex_2() throws Exception(Code) | | |
testOnetoNViaIndirectionTable | public void testOnetoNViaIndirectionTable() throws Exception(Code) | | |
testRemoveAssociation | public void testRemoveAssociation() throws Exception(Code) | | |
testRemoveAssociationWithProxy | public void testRemoveAssociationWithProxy() throws Exception(Code) | | |
testStoreComplexWithProxy | public void testStoreComplexWithProxy() throws Exception(Code) | | |
testStoreComplex_2_WithProxy | public void testStoreComplex_2_WithProxy() throws Exception(Code) | | |
testStoreDeleteCascade | public void testStoreDeleteCascade() throws Exception(Code) | | Use auto-delete="object" to enable cascading delete.
|
testStoreDeleteWithProxy | public void testStoreDeleteWithProxy() throws Exception(Code) | | |
testTwoMtoNRelationsInOneClass | public void testTwoMtoNRelationsInOneClass() throws Exception(Code) | | |
|
|