Document that StatelessSession does not support lazy loading
While experimenting with StatelessSession I discovered that it does not support lasy loading. I think this isn't imediately obvious and worth to be included in the documentation. See also http://stackoverflow.com/questions/34800788/does-statelesssession-support-lazy-loading
This commit is contained in:
parent
68446ca029
commit
2bad69f66a
|
@ -96,6 +96,7 @@ Limitations of `StatelessSession`:
|
|||
|
||||
* Operations performed using a stateless session never cascade to associated instances.
|
||||
* Collections are ignored by a stateless session.
|
||||
* Lazy loading of associations is not supported.
|
||||
* Operations performed via a stateless session bypass Hibernate's event model and interceptors.
|
||||
* Due to the lack of a first-level cache, Stateless sessions are vulnerable to data aliasing effects.
|
||||
* A stateless session is a lower-level abstraction that is much closer to the underlying JDBC.
|
||||
|
|
Loading…
Reference in New Issue