ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher.Mathru...@sybase.com
Subject RE: checking for Database changes
Date Fri, 01 Jun 2007 20:08:56 GMT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<META boundary="----=_Part_6278_18200613.1180726172589" alternative; multipart 
<META http-equiv=Content-Type content="text/html; charset=us-ascii" 
Content-Type: ------="_Part_6278_18200613.1180726172589" inline 
Content-Disposition: html; text 7bit Content-Transfer-Encoding:>
<META content="MSHTML 6.00.6000.16441" name=GENERATOR></HEAD>
<DIV dir=ltr align=left><SPAN class=623590720-01062007><FONT face=Arial 
color=#0000ff size=2>Take a look at the Quartz timer. If your are using Spring 
it is easy to use and configure.</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> "Ashish Kulkarni" 
&lt;ashish.kulkarni13@gmail.com&gt; [mailto:"Ashish Kulkarni" 
&lt;ashish.kulkarni13@gmail.com&gt;] <BR><B>Sent:</B> Friday, June
01, 2007 
12:30 PM<BR><B>To:</B> user-java@ibatis.apache.org<BR><B>Subject:</B>
for Database changes<BR></FONT><BR></DIV>
<DIV></DIV>Hi<BR>I have a requirement where i have to constantly monitor
database for changes, for example if thers is an row added, or row changed the 
java program will process those records.<BR>is there any good way of doing it, 
currently i am thinking of writing a TimerTask which will sleep for 5-10 seconds 
to read the database. <BR>I have a flag in database which is updated when it is 
processed, so i need to monitor for all the rows where this flag is not 
updated.<BR><BR>any ideas?<BR><BR>Ashish<BR></BODY></HTML>

View raw message