Changes between Version 12 and Version 13 of GROUP_PERSISTENCE_R0
- Timestamp:
- 05/24/09 00:26:28 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GROUP_PERSISTENCE_R0
v12 v13 179 179 [source:/branches/private/mira/sophie2-platform/modules/org.sophie2.base.persistence/src/test/java/org/sophie2/base/persistence/storage/CommonsPersistenceTest.java CommonsPersistenceTest], 180 180 [source:/branches/private/mira/sophie2-platform/modules/org.sophie2.main.func.media/src/test/java/org/sophie2/main/func/media/VideoFramePersistTest.java VideoFramePersistTest], 181 [source:/branches/private/mira/sophie2-platform/modules/org.sophie2.base.model.book .persist/src/test/java/org/sophie2/base/model/book/persist/BookPersistenceTest.java BookPersistenceTest]181 [source:/branches/private/mira/sophie2-platform/modules/org.sophie2.base.model.book/src/test/java/org/sophie2/base/model/book/persist/BookPersistenceTest.java BookPersistenceTest] 182 182 183 183 There should be class !MasterPersister which tracks the registered persisters. All other persisters should use it to persist objects that are not their responsibility. The !MasterPersister should find the appropriate persister for a given schema and call it with given parameters. This should be done in the static method void persist(Object source, Object target, Mode mode, String schema).