An extension to provide version control for hibernate