-->
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.  [ 2 posts ] 
Author Message
 Post subject: deactivate timestamp
PostPosted: Mon Nov 10, 2003 1:03 pm 
Newbie

Joined: Tue Oct 28, 2003 8:00 am
Posts: 16
Location: Karlsruhe, Germany
hi,

can I dynamically remove and set the timestamp property of versioned data ?

The idea behind is I have persistent object with versioned data and want to transfer these object from a remote database to a local database in our application.
So I want to do this transfer as initial step and then switch from the original application server/database to work with these objects.

How can I do this with hibernate so that the objects and versioned attributes are exact copies from the original server ?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 10, 2003 6:31 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Create two mappings for the tables used in different hibernate session factories. One is mapped as version the other as a date (or what ever is appropriate).


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

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.