The Envers project makes it simple to version entities. The only thing required is annotating them with @Versioned. Storing historical data (versions) is completely transparent to the developer. He/she may interact with the entities as always.
Not only basic properties of an entity can be
... [More] versioned, but also relations, making it possible to view parts of the database as they were at a given revision (each revision has an associated timestamp, one revision = one transaction, in which versioned data has changed).
Moreover, Envers provides a straightforward interface for retrieving historical data, a criteria-like query interface, and the possibility to store additional information alongside each revision.
Envers works with Hibernate and Hibernate Entity Manager. [Less]
A Java library that provides version functionality (Similar to C#, but more advanced)
Versioneer is a light-weight Java library that is used to provide a working alternative to C#'s Version class, but more advanced.
It supports the following version types:
SNAPSHOT
ALPHA
BETA
RC
STABLE
... [More]
Releases will be regularly provided, and advanced Maven users may use the Maven repository at https://github.com/Massive-Dynamics/Maven-repository if they so desire. [Less]
In Git, everything is possible. But for some common commands I wrote these shortcut scripts. Some of them are like helper expressions to use inside another Git cmd line.
Most of them had to be implemented on the Plumbing level (which means, a little bit of hacking), but provide features useful
... [More] for me such as:
git heads-for-merge -- what does your FETCH_HEAD say about all the heads that have been fetched for merge?
git the-empty-tree -- the ID to use if you need to refer to the empty tree in your (tree-merging) commands
git mread-and-commit -- read in multiple refs, merge the trees, and then make a merge commit, without touching your index or the working dir (useful for managing imported histories)
git merge-without-working -- the same idea -- advance your HEAD by merging
And more... [Less]
This site uses cookies to give you the best possible experience.
By using the site, you consent to our use of cookies.
For more information, please see our
Privacy Policy