The Smart Persistence Layer
Rozmiar pliku: 513.1 KB
Presented on the Sixth International Conference on Software Engineering Advances (ICSEA 2011). October 23-29, 2011 - Barcelona, Spain. ISBN: 978-1-61208-165-6. pp. 206-212.
Abstract We present an approach to solve the impedance mismatch problem caused by incompatibility between two models: object-oriented and relational ones. We believe that it cannot be unraveled by creating new Object-Relational Mappers (ORMs) like most of the software industry does. It is caused by some inherent differences between those two worlds. In our method we assume that both a programming language and a data source should be based on the same data model. Thus we propose a persistence layer for native data structures of a programming language. The presented idea is supported by a working prototype called the Smart Persistence Layer, which also supports extent management and bidirectional links. The prototype together with LINQ, the native query language for the .NET platform, formulates an easy-to-use yet powerful solution.