[hibernate-dev] Envers in Hibernate

Emmanuel Bernard emmanuel at hibernate.org
Thu Oct 23 10:16:59 EDT 2008



On  Oct 23, 2008, at 07:18, Adam Warski wrote:

>>>> I can see the confusion. Hibernate has a similar annotation for
>>>> optimistic locking which nearly matches "Versioned" in Envers.
>>> Yes, @Version. But it's for a totally different thing. So far I  
>>> only once I had a question on the forum if @Versioned and @Version  
>>> are related in any way. Do you really think it creates confusion?
>>
>> I go with Steve here. I think 'Version' is really overloaded and  
>> there will be
>> confusion between @Version and @Versioned, especially if they go  
>> into the same code base.
>> Peronally, I consider the JPA @Version a bad name choice, but that  
>> cannot be changed.
> Ok then :). @Historized? @Historic?

@Audited
@Archived



More information about the hibernate-dev mailing list