table « Version « JPA Q&A





1. JPA @version - can it be used to calcualate version of a table entry    stackoverflow.com

Please consider the following table (created using a corresponding entity)

request
-------
id requestor type version items 
1  a         t1   1   ...

2. Two different versions of a model accessing the same table    forum.hibernate.org

Lets say I have two clients each accessing the database to retrieve a person from a persons table. One is on version 1 and the other on version 2. In version 2 a property (date of birth) was added and another one was removed (age) to/from the Person class. Now let's say we can't upgrade the database yet to version 2. ...

3. versioning tables pattern - what is the best, non-bloat way?    forum.hibernate.org

Hi, I have a problem that is probably pretty common. I have 8 tables in a database of 70, all connected to each other as a single unit with 1 head table. It's basically 1 massive object with lots of collections. I'd like to version the changes automatically for this entire set of tables/entities without the system actually knowing what's going ...

4. Composing an object from multiple tables + Versioning    forum.hibernate.org

Hello everyone, We are trying to implement entity versioning / history to a system that wasn't originally designed for it. We want that each update to a versioned entity results in a new row instead of an update. We also need to retrieve the versioned entities (which are often associated together) at certain points of time. Basically there are Reports which ...

5. version and timestamp in one table    forum.hibernate.org

6. support two table versions with one set of code?    forum.hibernate.org

Hibernate version: 3.0.5 Name and version of the database you are using: Oracle 9+ We would like to support two versions of the same table with the same hibernate mapping files and Java classes. The old version of the table defines a column as numeric that is a varchar in the new version. The corresponding Java class will have a String ...