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: Detecting added rows (Event, Polling, ...)
PostPosted: Fri Jul 06, 2007 11:05 am 
Beginner
Beginner

Joined: Thu Apr 12, 2007 3:26 am
Posts: 35
Location: Germany
Hi!

I'm working with the newest hibernate release and oracle 10g...

... and I'm having the following problem:
My application will get an interface to a legacy system through a database-table. If the legacy system writes a record into the table then my application has to do something (transform it and write it into one of my own tables for instance). The question is, what is the best way for my application to detect that a new record has been added to the database table?

I think there are two possibilites (changing the legacy application / the interface is no option :-( ):
1.) Polling the database table all n seconds
2.) The database sends me an event, if a new row has been added

Does hibernate/oracle supports option 2? Exists there another good sollution for my problem?

Regards
Hoeft


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.