Scaricare la presentazione
La presentazione è in caricamento. Aspetta per favore
PubblicatoPerlita Massaro Modificato 11 anni fa
7
1.E un algoritmo ricorsivo: Tutti le istanze di oggetti raggiungibili da un oggetto persistente diventano anchessi persistenti.
8
Persistence Context
9
Soluzione di NHibernate: Persistence by Reachability con Cascade Associazione Cascade Behaviour
16
Context Context Provider User Interface Layer Business Layer Data Access Layer DAO Context: Identity Map Unit of Work Automatic Dirty Check Optimistic Concurrency Pessimistic Concurrency Proxy per Lazy... Context: Identity Map Unit of Work Automatic Dirty Check Optimistic Concurrency Pessimistic Concurrency Proxy per Lazy...
18
...Hibernates job is to reduce the amount of code you have to write for the most common 90 percent of use cases (common CRUD and reporting)... …Hibernates learning curve is high at first. In our experience, a developer needs at least two to four weeks to learn the basics. Dont jump on Hibernate one week before your project deadline. It wont save you… …Finally, use SQL, JDBC, and stored procedures for the 5 percent of use cases you cant implement with Hibernate, such as mass data manipulation or complex reporting queries with vendor-specific SQL functions… [Gavin King, Hibernate in Action]
Presentazioni simili
© 2024 SlidePlayer.it Inc.
All rights reserved.