9 Replies Latest reply on Aug 26, 2008 4:17 PM by Vasily Vasilkov

    How to specify sequence to use on version entities?

    talios Newbie

      Hey all,

      I just noticed envers doesn't currently provide (or at least I've not spotted it yet) a way to configure the sequence used for generating the _versions_id field in the versions tables.

      Currently hibernate simply defaults to using hibernate_sequence which I'd rather avoid using.

      One option could be to add the sequence name to the @VersionsTable annotation, I've not yet looked at the code to see where one would actually configure this thou.

      Any one come across this before?