-->
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.  [ 3 posts ] 
Author Message
 Post subject: Auto Rollback?
PostPosted: Thu Mar 30, 2006 4:52 pm 
Newbie

Joined: Tue Feb 07, 2006 4:54 pm
Posts: 1
Hibernate version: 3.0

Is there a config file setting that I can set to allow me to test updates to a db w/o saving the changes?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 30, 2006 5:59 pm 
Expert
Expert

Joined: Fri Jul 22, 2005 2:42 pm
Posts: 670
Location: Seattle, WA
No.

I suggest dumping and restoring database in different schema/catalog and do testing there.
db_dump > file
file > new_db
test against new_db
drop new_db

_________________
--------------
Konstantin

SourceLabs - dependable OpenSource systems


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 30, 2006 6:02 pm 
Expert
Expert

Joined: Mon Jan 09, 2006 5:01 pm
Posts: 311
Location: Sacramento, CA
in order for you changes to be visible to other processes (and persistent for htat matter), like external tools (Sqlplus, TOAD, dbartisan, vienna..etc.) then you need to COMMIT the data. Once you COMMIT, you can't rollback.

So you can't really verify the data w/o a COMMIT.

_________________
-JT

If you find my replies helpful, please rate by clicking 'Y' on them. I appreciate it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.