| org.objectweb.speedo.SpeedoTestHelper org.objectweb.speedo.runtime.fetchgroup.TestPredefinedFetchGroup
TestPredefinedFetchGroup | public class TestPredefinedFetchGroup extends SpeedoTestHelper (Code) | | Test the 4 pre-defined fetchgroups:
1- all : all the fields of the class are loaded
2- default: all the fields defined as default-fetch-group="true" in the jdo file are loaded
3- none: only the primary key of the class is loaded but int he case of speedo (and because of jorm)
all primitive fields are loaded.
4- values: all the fields that are included in the default fetch group by default
(primitives, wrappers, String, Date, etc...) are loaded.
author: Y.Bersihand |
TestPredefinedFetchGroup | public TestPredefinedFetchGroup(String s)(Code) | | |
testLoadingAll | public void testLoadingAll()(Code) | | Test the loading with the "all" fetch group : all the fields of the class are loaded
|
testLoadingDefault | public void testLoadingDefault()(Code) | | Test the loading with the "default" fetch group
|
testLoadingNone | public void testLoadingNone()(Code) | | Test the loading with the "none" fetch group : only the pk is loaded
|
testLoadingValues | public void testLoadingValues()(Code) | | Test the loading with the "values" fetch group : only the values field of the default are loaded
|
testRemovingOfPersistentObject | public void testRemovingOfPersistentObject()(Code) | | |
|
|