java - How can I create a hibernate collection that will be re-read every time I request it? -


I have an entity in which it has a state table with state hosting being managed by another process, and those There is a list of items that should be processing my business logic. Whenever I reload the unit, then I want to get a new snapshot of the state table. How can I ensure that hibernate or any part of its support libraries ever this table Can not cache any of the values? Basically, I want to get a new view of the time of collection every , I get metastet value ().

Being in hibernation has prevented most of the happening from happening and within the range of a given transaction The unit has to return a continuous view of the state. Therefore, in various transactions all the time, reload the whole unit. Or, if you need to reload the state table during business transaction, then be in separate hibernation Load only the state table by the original unit ID in the session.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -