thanks for your reply DarioCrivelli.

this is the situation (sorry for my english)

1st problem
a user subscribes to LS (Lightstreamer). then my Javaadapter has an infinite loop querying the database for updates on multiple tables. but this is not optimal, it query to the database unnecessarily, so i need i way to perform this query to the database only if some value in the database was changed.
2nd problem
assuming that there is a way of saying to LS that queries the database. i need to put priority consultation on some tables, because these tables has more important data.

i hope you can understood me
Naitsir