Keeping historic of modification in a database.

Posted by mada on Stack Overflow See other posts from Stack Overflow or by mada
Published on 2010-03-27T19:54:31Z Indexed on 2010/03/27 20:03 UTC
Read the original article Hit count: 175

Filed under:

Hi, Im a j2ee developper & we are using hibernatne mapping with a postgres databasae. We have to keep track of any changes occurs in the databse , in others words alls previous & current value of any field should be saved & field can be various types (bytea, int, char...)

With a simple table it is easy but we a graph of objets things are more difficult

So we have , speaking in a UML point of view, a graph of objects to store in the database with every changes & the user.

Any idea or pattern how to do that ? Thanks in advance.

© Stack Overflow or respective owner

Related posts about posgresql