need to monitor the column of a sql table if its value gets updated,this change needs to be captured in java program, based on the value, a method need to be executed like WatcherService is used in java for monitoring directory.
above requirement is to be achieved using mybatis and spring, Thanks in advance, any help would be much appreciated.
I would like to implement a listener like in this question : How to implement a db listener in Java
but using spring and mybatis, and needed a service like that of Java WatchService(which keeps monitoring directory changes).
Hope I explained the problem, please let me know if need more explanation.