Hibernate. All you wanted to know about Castle ActiveRecord - Part II. On this second part of the series of articles I’ll focus on the framework initialization.
And yes, I intend to dive into the details and inner workings. Getting your hands dirty To use ActiveRecord you just need to: Decorate the classes that represent a database entityStart the framework specifying the mapping types (or an assembly, or multiple assemblies) and a configuration source There will be an article just to go through every possible mapping and relation types. Why I Do Not Use ORM. An impedance mismatch occurs when two devices are connected so that neither is operating at peak efficiency.
This lack of efficiency is not due to any intrinsic incompatibilities between the devices, it only exists once they are connected together the wrong way. Object Relational Mapping (ORM) does not cure a pre-existing impedance mismatch, it creates one, because it connects databases to applications in a way that hobbles both. UPDATE: There is a newer Historical Review of ORM now available.