Hi

No. AFAIK - You don't get any help from Envers here. You'd better script in the 
added users to the audited tables. Shouldn't be that hard - just create a new 
revision and then copy appropriate rows from "real" tables to audit with 
revtype set to Added (=0).

/Roger

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Morgan
Sent: den 25 maj 2012 11:45
To: nhusers
Subject: [nhusers] [Envers] Recreate firt Revision or avoid it

Hello everyone, Hello Roger !

I have a question about the first revision (the Added one) with Envers.

We have to insert old users in our new system which use Envers. The team 
introduce old users directly in the database ... So we don't have the first 
Added Revision in the Envers tables.

So when we try to update a reintroduced entity, Envers respond that he didn't 
find the Revision.

How can I resolve this kind of problem ?

Do I need to create myself the Added Revision Entry ? Does Envers already 
handle this kind of issue ?

Thanks a lot,

Morgan

--
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to