Changes between Version 11 and Version 12 of S2S_PERSIST_MODEL_R0
- Timestamp:
- 12/12/08 17:24:57 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S2S_PERSIST_MODEL_R0
v11 v12 32 32 33 33 = Design = 34 * The whole package org.sophie2.server.persistence should be refactored to work with the ProLib objects as entities.34 * The whole package org.sophie2.server.persistence should be refactored to work with the !ProLib objects as entities. 35 35 * After the refactoring of the org.sophie2.server.persistence, the org.sophie2.server will need some refactoring. 36 36 * Then to the refactored entities should be added a Book entity and Book Data Access object to manage it. 37 37 The new UML Class diagram of the persistence model looks like this:[[BR]] 38 38 [[Image(source:/trunk/sophie2-platform/modules/org.sophie2.server/doc/S2S_PERSIST_MODEL_R0.jpg)]] [[BR]] 39 * Using the ProLib the persistence management with the JDBC lib should be generalized to methods like save, pesist, search, delete, etc... for the39 * Using the !ProLib the persistence management with the JDBC lib should be generalized to methods like save, pesist, search, delete, etc... for the 40 40 most simple actions. 41 * The persistable AbstractEntities should be annotated with the new annotation @Persistable and the tables they are mapped should be pointed.42 * The related in relation of the type many to many AbstractEntities should be annotated with the new annotation @ManyToMany and the intermediate tables and their id field names there should be pointed.41 * The persistable !AbstractEntities should be annotated with the new annotation @!Persistable and the tables they are mapped should be pointed. 42 * The related in relation of the type many to many !AbstractEntities should be annotated with the new annotation @!ManyToMany and the intermediate tables and their id field names there should be pointed. 43 43 * There will be problem with the Date field(dateUploaded) in the new Book entity, think of resolutions. 44 44