mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-18 00:55:16 +00:00
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…
x
Reference in New Issue
Block a user