Quote:
And there are certain transaction which directly update the tables T1,T2 .
Well, if this means you are actually bypassing Hibernate and executing some native SQL to modify the data in the tables you are out of luck. What I mean is that you will have to manually sync the indexes. How would Hibernate resp. Hibernate Search know that the data has changed if you bypass the whole framework. Are this table modifications made by a separate client or is it the same application? If so, why can you not work with Hibernate all the time?
--Hardy