This document discusses the idea of moving our entire Harvest Definition Database to Hibernate. Hibernate is used in NAS for the wayback-indexer component, but with a very simple data model. In principle, therefore, well-written Hibernate applications are database-neutral. Objects are retrieved from storage via an object-based query language (HQL) or via a Query-API. The mapping of the objects to a database layer is carried out by the Hibernate framework itself, based on the structure of the objects to be persisted and additional information supplied in Java annotations. Hibernate is an object-relational framework which provides components that allow Java objects (such as HarvestDefinition-s or Job-s) to be persisted directly. The DAO layer is written and maintained by NAS devdelopers and accesses the database directly via SQL in the form of JDBC Prepared Statements. The current NAS architecture maintains a persistent store of harvest definition information in a database which is accessed by a Data Access Object (DAO) layer. Migration of Harvest Database to Hibernate-based Object-Relational Framework Background
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |