top-image

Tag archives for Hibernate

Java/Hibernate: HashCode, Equals methods
A simple post concerning the HashCode, Equals methods in Java world. These methods allow containers to 'categorize' the objects it contains and so find them more quickly. This is particularly true of all containers whose name begins with 'Hash' (eg. HashSet, HashMap, ...). These containers can contain objects on which an order is not necessarily defined (and easily defined) as opposed ...more»
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 Hüseyin Özveren. 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.