Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> java oracle replication problem
I'm tryng to use the oracle replication features using Java REPAPI. but I'm
not able to use fast replication.
here is the source code and the output obtained:
class JRCEX {
public static void main(String[] args) {
try {
POLRep8 obj = new POLRep8();
System.out.println("initialize...");
obj.initialize((short)0, 3, 0, "");
System.out.println("masterConnectionOpen..."); obj.masterConnectionOpen("UTENTE", "UTENTE", "ISTANZA_REMOTA");
System.out.println("snapshotConnectionOpen..."); obj.snapshotConnectionOpen("system", "", "DB_LOCALE");
System.out.println("snapshotGroupReset..."); obj.snapshotGroupReset();
obj.snapshotGroupAdd("UTENTE", "TABELLA", (short)0); // <-- se usiamo 2 come parametro funziona ma scarica tutto il DB
System.out.println("snapshotGroupRefresh..."); obj.snapshotGroupRefresh(false);
System.out.println("masterConnectionClose..."); obj.masterConnectionClose();
System.out.println("snapshotConnectionClose...");
obj.snapshotConnectionClose();
} catch (POLRepException e) {
System.out.println(e.getError());
System.out.println(e.getMessage());
}
}
}
E:\>
it seem oracle it's not able to found the Log table, even if it exists.
the system is:
Oracle Enterprise V.8.0.1.6
Oracle Lite 4
Received on Sat Jul 21 2001 - 16:43:04 CDT
![]() |
![]() |