java - Hibernate: Entities vocabulary(in-memory storage) -


vocabularies common thing when using pure sql. store static tables(rarely updated entries - such types, cities list, etc.) in memory , update when needed - nice approach because haven't create tonns of connections , property binding...

but hibernate it's sessions, transactions, versions, etc. ? allows create such vocabulary ?

p.s. interesting thing - transient objects. because of number of different sessions , transactions vocabularies used. each time object vocabulary have invoke merge() wouldn't perform communication db ?

hibernate provieds readonly mapping: mutable=false (or add @immutable class) should result in less memory consumtion.

and can enable caching class.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -