title: Hibernate: Automatic Versioning Nullable Column
body: <p>I have a table which contains huge data. I want to add hibernate automatic versioning to this table. But adding a not-null column to this table for versioning is very expensive due to huge data. Is there a workaround so hibernate can work with nullable column? Currently hibernate gives NPE because it tries to increment a null value.
  ( As hibernate manages this internally, changing the version value on client side is out of question )
  Any other versioning startegy is welcome too. Thanks in advance</p>