1. Books/articles/recommendations on how to write a tool to migrate database data from one version of a Hibernate enabled Java application to the next stackoverflow.comWe develop and support and application that uses Hibernate as an Object-Relational Mapping tool to persist our Java objects into the database. Unfortunately, there have been some changes in object model, ... |
2. Hibernate convert data between object versions forum.hibernate.orgHello, I have a problem, and please help, if you can. Situation is: I already have an application, and this application contains lots of hibernate domain objects with lots of relations. This version is called: 1.0 Now I would like to refactor almost all of the domains. How can I change the database structure without data lose, and how can I ... |
3. multi-thread keeps different version of data forum.hibernate.orgNewbie Joined: Mon Jul 12, 2004 2:52 am Posts: 17 Hibernate version:2.1 My system creates threads that each of them would: read table Sequence for nextId, increment the id and save back to Sequence save the new record into Orders with the read id shortened code: Code: public synchronized void syncOrder(Orders o) { ... |
4. Data migration from old to new version forum.hibernate.orgAre there some good known strategies for migrating data between different versions of app using hibernate. The problem I am facing is that IDs are generated by database in the initial version. In the new version i want to use same IDs for consistency but hbm file wont allow an assigned ID. Doing this stuff directly with importing db dump is ... |