Simplified ReplicationHandler: It is run now in the same thread started from DBSAXHandler; thus the same connection opened in that thread is used, i.e. no need for new connection and no complains as "Connection is closed" in ReplicationHandler; "Connection is closed" error happens when in the current thread there are try to use connection opened in another thread, i.e. DON'T USE SAME CONNECTION BETWEEN DIFFERENT THREADS.
Simplified ReplicationHandler:
It is run now in the same thread started from DBSAXHandler;
thus the same connection opened in that thread is used,
i.e. no need for new connection and no complains as "Connection is closed" in ReplicationHandler;
"Connection is closed" error happens when in the current thread there are try to use connection opened in another thread,
i.e. DON'T USE SAME CONNECTION BETWEEN DIFFERENT THREADS.