top | item 8364160

(no title)

w01fe | 11 years ago

Author here, would love feedback on this, and also happy to answer any questions.

discuss

order

ivanceras|11 years ago

I 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