Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> java oracle replication problem

java oracle replication problem

From: \(¯`·.¸¸.·´¯`·.¸¸.-> Rain Boy <duegiornidipioggia_at_libero.it>
Date: Sat, 21 Jul 2001 21:43:04 GMT
Message-ID: <pl5P6.22436$h9.1816745@news.infostrada.it>

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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US