-->
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 support for Oracle's Total Recall option
PostPosted: Fri Dec 11, 2009 1:17 pm 
Newbie

Joined: Fri Dec 11, 2009 1:09 pm
Posts: 1
We are looking for a pain-free way to add query-able, historical information concerning the changes in our database. Oracle 11g has a product called Total Recall which will do this behind the scenes for us, but retrieving this historical data requires some non-standard SQL extensions, e.g., the "AS OF ..." clause below:

Code:
SELECT LAST_NAME, FIRST_NAME, SALARY
FROM EMPLOYEES AS OF TIMESTAMP TO_TIMESTAMP ('2007-02-03 00:00:00', 'YYYY-MM-DD HH24:MI:SS')
WHERE empoyee_id=193;


Is there any support for this in Hibernate? If not, what would be involved in adding it?


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.