Hi Nikhi,
Welcome to JavaRanch.
is there any way by which a trigger can interact with JDBC ?
Generally, we don't trigger the triggers(database) directly.They get called automatically by database when some operations like insert,update,delete occurs.
More about trigger
I want to check the database each time its updated and if some condition is violated
There are many ways you can validate the data.
1)You can put constraints in database itself
2)You can validate the user/file input in your java code too.
Does it help you?