@Index annotation ommitted while creating audit tables

Description

Assume audited entity configured as follows:

Address.java

The table ADDRESS_AUD is being created without any index on columns streetName and houseNumber (corresponding to original index idx).

Verify the correctness of applying @Index annotation on fields and methods.

In my opinion two additional configuration parameters shall be added, since only one index structure with the given name can exist in a single database schema.

Bug report on Hibernate Envers forum: http://community.jboss.org/thread/163497?tstart=0.

Environment

All, Tested on Oracle 10g

Assignee

Chris Cranford

Reporter

Lukasz Antoniak

Fix versions

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure