top-image

Tag archives for layer

Java/Hibernate: concurrency management with Hibernate versioning
After my first post concerning Hibernate Java/Hibernate: generate universally a unique object ID with ORM/Hibernate persistence layer, I propose you a post about the concurrency management with a brief presentation of Hibernate versioning, its limits with a problematic case and a simple solution to resolve it. So, here, an simple solution used in an application with a layer ORM (object-relational ...more»
Java/Hibernate: generate universally a unique object ID with ORM/Hibernate persistence layer
In most applications, it is necessary to generate universally a unique object ID. Often, this information which is used like primary key in database, is generated via an Oracle sequencer or procedure. And its value is not really predictable. So, here, an simple solution used in an application with a layer ORM (object-relational mapping) like Hibernate: First, it's singleton ...more»
bottom-img
Copyright ® 2012 Huseyin Ozveren. No reproduction, even partial, can be used from this site and all its contents including text, documents, images, etc.. without the express permission of the author.