-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate Envers with partitioned database
PostPosted: Mon Apr 22, 2013 8:38 am 
Newbie

Joined: Mon Apr 22, 2013 8:26 am
Posts: 1
We are using a MySQL partitioned db (same schema for each db) and need to audit data by company. (so we have extra company id key in every entity)
Some companies have their data on a certain server, others on another.
So i guess that to accomplish auditing we need a composite revision id: [companyId, revId] in the "revinfo" table and also in the audit tables themselves.
We want to know entity changes for each company.
We also must be able to copy all data of one company to another server including the audit data.
"CompanyId" is unique over all servers.
For now this seems impossible.

Is this possible with the current version of envers?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.