6 ms·
Author here, would love feedback on this, and also happy to answer any questions.
by w01fe 12y ago
Author here, would love feedback on this, and also happy to answer any questions.
- ivanceras 12y agoI saved the document for later use, but it got me thinking how ORMs like hibernate is dealing with the migration and future proofing issues. I wrote code libraries for a small company, in which part of the libraries design is to allow data transformation/representation of Data Models to work on the new database schema/changes while representing the data structure as if it were from previous versions. So I ended up writing generators to create a mapping of the DAO and the Models exposed to the API's in such a way that when the database changes while you still have to support the previous version of the API, I will only have to edit/tweak the mappers of the previous version of the API. The library has been opensourced here in this link https://github.com/ivanceras/orm https://github.com/ivanceras/orm