-->
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: Postgresql mvcc with hibernate versioning - education needed
PostPosted: Sun Nov 26, 2006 8:48 pm 
Newbie

Joined: Mon Mar 27, 2006 7:46 pm
Posts: 17
I am migrating a project that uses hibernate/spring to use the postgresql db. Currently, I am using hsqldb and I have implemented the hibernate version control.

I am new to postgresql, but it appears to have it's own sort of versioning system built in, MVCC. Now could someone explain to me how this will fit in with the hibernate versioning system. Is the postgres system at a lower level?

Will using both systems create a performance issue or does hibernate leverage the postgresql versioning system so they don't double up on this?

What is the best practice here? Is it at all advised to turn off the postgresql mvcc if i use the hibernate versioning (not even sure if this is possible)?

Essentially do the two versioning systems play nice together and is there any best practices i should be aware of when combining the systems?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 27, 2006 6:42 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
PostgrSQl MVCC is an internal architecture approach to minimise the requirement of using Hard locks to maintain ACID principles. Other DBs, such as Oracle and others, use this technqiue as well. You only need to know that it works well (and the approach scales better). Hibernate versioning is there to help implement Optimistic locking. They are not (generally) related at all.


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.