Need a unique gift idea?
A Pastebin account makes a great Christmas gift


a guest Feb 19th, 2018 65 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. Why?
  2. ----
  3. Historically, Hibernate relied on standard class-loading paradigms that targeted JSE and JEE deployment environments.  However, with the growth of OSGi and other modular systems those same approaches no longer always work.  So Hibernate needed a new approach that would allow it operate in all possible deployment environments.  
  5. How?
  6. ----
  7. In Hibernate 4 we leverage the ServiceRegsitry to define a pluggable service for providing interaction with the class-loading of the semantics of the environment in which Hibernate will be run. Specifically, the idea is to allow external entities (the user, the environment developers, etc) to define and "plug in" a custom scheme for class path interactions.  For example, an OSGi container could choose to provide Hibernate (either directly or as its JPA provider) and install a custom service for class loader interactions to override the default one.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand