Envers documentation issues

Description

The second, third, and fourth examples (611, 612, 613) in the Envers documentation seem to have mistakes in them. All of these show an insert into REVINFO where the REV is set to null. I believe in all of these examples, the REV should be set to the same value as is in the insert into the Customer_AUD table. All three of these should be parameterized and include a binding parameter comment.

Also, the REVTYPE table (table 10) shows the db column value for DEL as "1" but should be "2".

The documentation for the method for getting the third revision (the delete) is inconsistent: the text before example 618 mentions a "find" method while the example has a "forEntitiesAtRevision" method that doesn't have a primaryKey parameter.

Environment

None

Status

Assignee

Chris Cranford

Reporter

Chris Williams

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure