-->
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 versioning scheme
PostPosted: Thu Nov 17, 2005 6:29 am 
Newbie

Joined: Thu Nov 17, 2005 6:12 am
Posts: 1
Hi,

I'm new to Hibernate (actually just finished hibernate in action)... I've to say that I'liked hibernate, though one thing makes me unhappy. It's hibernate's versioning approach...
It's quite nice from relational point of view, as does as few updates as possible, but it 's not what you expect in object environment (IMHO).

In our homegrown data layer there is a lot of associations kind of 'it's a part of the whole'.. So when we change a part we change parent's (large parts up to the whole). Actually whole's version get incremented and propagated down the branch up to the changed part.

This approach while does more updates to db simplifies object part a lot... For example I can always check if two wholes are uptodate, or produce whole diffs (to send over network) quite easily. Such things will be much more complicated with hibernate's approach.

I do understand that a lot of people are quite happy with hibernate's approach, and there are not to much projects as ours (with complex domain layer and lots of modifications as it is OLTP high transaction volume). So the question is -- Is it possible to plug different versioning scheme to hibernate? Or, probably it's already possible with 3.1? Because, unfortunately, hibernate's versioning is not a way for us.


Thanks in advance.


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.