Changes between Version 10 and Version 11 of SERVER_DATABASE_PERSISTENCE
- Timestamp:
- 02/20/10 18:00:58 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SERVER_DATABASE_PERSISTENCE
v10 v11 120 120 * The SQLCallbacks retrieve and manage connections, and their doSQL method instantiates ConnectionCallbacks that use that connections. The execute methods of the JDBCTemplate deal with the SQLExceptions and if it is needed throw our JdbcException. 121 121 * class : [browser:branches/private/tsachev/paragraphs/modules/org.sophie2.server.core/src/main/java/org/sophie2/server/core/persistence/db/jdbc/JdbcException.java JDBCException] -> The exception thrown when something is wrong with the JDBCTemplate queries. It is unchecked and in general represents unchecked SQLException. 122 * class : ConnectionManager-> Manages the connections to the database, provides thread safe connections and provides methods for strating transactions and rollback of transactions.122 * class : [browser:branches/private/tsachev/paragraphs/modules/org.sophie2.server.core/src/main/java/org/sophie2/server/core/persistence/db/jdbc/ConnectionManager.java ConnectionManager]-> Manages the connections to the database, provides thread safe connections and provides methods for strating transactions and rollback of transactions. 123 123 * The manager is constructed by a DataSource (From the JDBC API, the data source can provide a connections from a pool, for reusing...) 124 124 * Public methods: … … 270 270 * [browser:branches/private/tsachev/paragraphs/modules/org.sophie2.server.core/src/test/java/org/sophie2/server/core/persistence/db/DBModelTest.java DBModelTest] -> Test parent for all the tests using the database with the S2S persistence schema, it creates the schema and deletes the DB after testing. 271 271 * [browser:branches/private/tsachev/paragraphs/modules/org.sophie2.server.core/src/test/java/org/sophie2/server/core/persistence/db/DBContextTest.java DBContextTest] -> Tests the DBChangeContext class and with it most of the ResourceDAO's methods. 272 * [browser:branches/private/tsachev/paragraphs/modules/org.sophie2.server.core/src/test/java/org/sophie2/server/core/persistence/db/ResourceDAOTest.java ] -> Tests the most important of the ResourceDAO's methods.272 * [browser:branches/private/tsachev/paragraphs/modules/org.sophie2.server.core/src/test/java/org/sophie2/server/core/persistence/db/ResourceDAOTest.java ResourceDAOTest] -> Tests the most important of the ResourceDAO's methods. 273 273 * The web UI was tested manually. 274 274