[bugfix] if BIGINT or SMALLINT version field was not incremented.
Made version field accepted type coherent between ClassMetadataInfo and BasicEntityPersister
Merge pull request #804 from diego-mazzaro/master

[bugfix] if BIGINT or SMALLINT version field was not incremented.