Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE etl SYSTEM "http://scriptella.javaforge.com/dtd/etl.dtd">
  2. <etl>
  3. <description>
  4. test script Pour table article
  5. </description>
  6. <connection id="in" driver="oracle"
  7. url="jdbc:oracle:thin:@localhost:1521:XE" user="IPTECH" password="IPTECH" />
  8.  
  9. <connection id="out" driver="postgresql"
  10. url="jdbc:postgresql://localhost:5432/gemodb" user="postgres"
  11. password="maher" />
  12. <connection id="janino" driver="janino" />
  13.  
  14. <query connection-id="in">
  15. select code,libelle from TMP_STRUCTURE;
  16. <script connection-id="janino">
  17. import java.util.*;
  18. import java.io.*;
  19. Boolean result=false;
  20. ArrayList<String> obj = new ArrayList <String>();
  21. String code =get("code").toString();
  22. obj.add(code);
  23. </script>
  24. </query>
  25. </etl>
  26.  
  27. Unable to parse document: org.xml.sax.SAXParseException; systemId: file:/C:/Users/MHT/eclipse-workspace/Scriptella/test.xml; lineNumber: 23; columnNumber: 5; The element type "String" must be terminated by the matching end-tag "</String>".
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement