Refactoring Database Access in Marauroa: Difference between revisions
Content deleted Content added
imported>Hendrik Brummermann →FAQ: Porting |
imported>Hendrik Brummermann |
||
Line 63:
It was replaced by smaller DAO classes. See above for how to use them.
=== What happened to Transaction, JDBCTransaction, Accessor, JDBCAccess? ===
They where replaced with DBTransaction. You can get a DBTransaction from the TransactionPool. Make sure that you commit or rollback it after use.
=== What happend to JDBCSQLHelper and StringChecker? ===
They have been moved to marauroa.server.db
=== I provided my own subclass of IDatabase/JDBCDatabase ===
| |||