Error when parsing SQLServer triggers tot Oracle Model

After capturing the SQLServer database into the Oracle Migration Work Bench repository (omwb) I have migrated the SQLServer sourccode to the Oracle Model (also in the
omwb repository). But...
when migrating SQLServer sourcecode to Oracle9i database some of the triggers are not migrated into the Oracle Model: triggers like :
----------->
create trigger dbo.tr_nev_del_audittable
on event_spare_memofield
instead of delete
as
begin
<-----------
are not migrated.
Can someone tell me why?
I am only getting the message:
Error occured on line 9:
oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 9, column 10. Encountered: of

Hi there,
I'm sure this is still a bug, bug you should change or comment out the offending lines and reparse the triggers. This way, you will get it into the oracle model and can start finsihing off the migration.
Barry

Similar Messages

  • WHEN MIGRATING SQLSERVER REPOSITORY TO ORACLE MODEL USING OraMigWrkBnch

    I have captured the the SQLServer database to the omwb repository and migrated it to the Oracle Model. Some of the views,
    triggers and stored procedures are not migrated and the followind messages are provided.
    Has somebody done this before and got the same messages?, does someone know how to solve this problem(s)?, is there a
    standard way?
    Please help, anyone.
    VIEW
    [1] Error occured on line 1:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 1, column 106. Encountered:
    from
    TRIGGERS
    [2] Error occured on line 9:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 9, column 10. Encountered: of
    [3] Error occured on line 17:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 17, column 3. Encountered:
    update
    [4] Error occured on line 183:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 183, column 5. Encountered:
    cross
    [5] Error occured on line 7:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 7, column 1. Encountered:
    create
    STORED PROCEDURES
    [6] Error occured on line 26:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 26, column 5. Encountered:
    update
    [7] Error occured on line 163:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 163, column 17. Encountered:
    where
    [8] Error occured on line 66:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 66, column 47. Encountered:
    @ac_any_type_code
    [9] Error occured on line 69:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 69, column 28. Encountered: =
    [10] Error occured on line 70:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 70, column 7. Encountered: (
    [11] Error occured on line 9:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 9, column 1. Encountered:
    [12] Error occured on line 64:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 64, column 5. Encountered:
    delete
    [13] Error occured on line 60:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 60, column 35. Encountered:
    as
    [14] Error occured on line 1:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 1, column 55. Encountered:
    create
    [15] Error occured on line 65:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 65, column 7. Encountered:
    from
    [16] Error occured on line 56:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 56, column 51. Encountered: +
    [17] Error occured on line 112:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 112, column 1. Encountered:
    null
    [18] Error occured on line 27:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 27, column 3. Encountered:
    select
    [19] Error occured on line 74:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 74, column 10. Encountered:
    and
    [20] Error occured on line 19:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 19, column 6. Encountered: ,
    [21] Error occured on line 194:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 194, column 10. Encountered:
    exists
    [22] Error occured on line 269:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 269, column 9. Encountered:
    declare
    [23] Error occured on line 49:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 49, column 7. Encountered:
    order
    [24] Error occured on line 244:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 244, column 41. Encountered:
    rtrim

    The following trigger created:
    CREATE OR REPLACE TRIGGER tr_prs16_ins
    AFTER INSERT
    ON progress_state_16
    FOR EACH ROW
    DECLARE
    /* COMMENT */
    BEGIN
         BEGIN
                   INSERT INTO logtable
                        SELECT :NEW.code, sf_language.code,
    RPAD(CASE WHEN fg1.id IS null THEN '' ELSE RTRIM(fg1.id) END ||
    CASE WHEN pg1.id IS null THEN '' ELSE ': ' || RTRIM(pg1.id) END ||
    CASE WHEN fg2.id IS null THEN '' ELSE ', ' || RTRIM(fg2.id) END ||
    CASE WHEN pg2.id IS null THEN '' ELSE ': ' || RTRIM(pg2.id) END ||
    CASE WHEN fg3.id IS null THEN '' ELSE ', ' || RTRIM(fg3.id) END ||
    CASE WHEN pg3.id IS null THEN '' ELSE ': ' || RTRIM(pg3.id) END ||
    CASE WHEN fg4.id IS null THEN '' ELSE ', ' || RTRIM(fg4.id) END ||
    CASE WHEN pg4.id IS null THEN '' ELSE ': ' || RTRIM(pg4.id) END ||
    CASE WHEN fg5.id IS null THEN '' ELSE ', ' || RTRIM(fg5.id) END ||
    CASE WHEN pg5.id IS null THEN '' ELSE ': ' || RTRIM(pg5.id) END ||
    CASE WHEN fg6.id IS null THEN '' ELSE ', ' || RTRIM(fg6.id) END ||
    CASE WHEN pg6.id IS null THEN '' ELSE ': ' || RTRIM(pg6.id) END ||
    CASE WHEN fg7.id IS null THEN '' ELSE ', ' || RTRIM(fg7.id) END ||
    CASE WHEN pg7.id IS null THEN '' ELSE ': ' || RTRIM(pg7.id) END ||
    CASE WHEN fg8.id IS null THEN '' ELSE ', ' || RTRIM(fg8.id) END ||
    CASE WHEN pg8.id IS null THEN '' ELSE ': ' || RTRIM(pg8.id) END ||
    CASE WHEN fg9.id IS null THEN '' ELSE ', ' || RTRIM(fg9.id) END ||
    CASE WHEN pg9.id IS null THEN '' ELSE ': ' || RTRIM(pg9.id) END ||
    CASE WHEN fg10.id IS null THEN '' ELSE ', ' || RTRIM(fg10.id) END ||
    CASE WHEN pg10.id IS null THEN '' ELSE ': ' || RTRIM(pg10.id) END ||
    CASE WHEN fg11.id IS null THEN '' ELSE ', ' || RTRIM(fg11.id) END ||
    CASE WHEN pg11.id IS null THEN '' ELSE ': ' || RTRIM(pg11.id) END ||
    CASE WHEN fg12.id IS null THEN '' ELSE ', ' || RTRIM(fg12.id) END ||
    CASE WHEN pg12.id IS null THEN '' ELSE ': ' || RTRIM(pg12.id) END ||
    CASE WHEN fg13.id IS null THEN '' ELSE ', ' || RTRIM(fg13.id) END ||
    CASE WHEN pg13.id IS null THEN '' ELSE ': ' || RTRIM(pg13.id) END ||
    CASE WHEN fg14.id IS null THEN '' ELSE ', ' || RTRIM(fg14.id) END ||
    CASE WHEN pg14.id IS null THEN '' ELSE ': ' || RTRIM(pg14.id) END ||
    CASE WHEN fg15.id IS null THEN '' ELSE ', ' || RTRIM(fg15.id) END ||
    CASE WHEN pg15.id IS null THEN '' ELSE ': ' || RTRIM(pg15.id) END ||
    CASE WHEN fg16.id IS null THEN '' ELSE ', ' || RTRIM(fg16.id) END ||
    CASE WHEN pg16.id IS null THEN '' ELSE ': ' || RTRIM(pg16.id) END
    , 255, ' ')
    from dual
    left outer join function_group fg1 on fg1.code = :new.function_group_1_code
    left outer join function_group fg2 on fg2.code = :new.function_group_2_code
    left outer join function_group fg3 on fg3.code = :new.function_group_3_code
    left outer join function_group fg4 on fg4.code = :new.function_group_4_code
    left outer join function_group fg5 on fg5.code = :new.function_group_5_code
    left outer join function_group fg6 on fg6.code = :new.function_group_6_code
    left outer join function_group fg7 on fg7.code = :new.function_group_7_code
    left outer join function_group fg8 on fg8.code = :new.function_group_8_code
    left outer join function_group fg9 on fg9.code = :new.function_group_9_code
    left outer join function_group fg10 on fg10.code = :new.function_group_10_code
    left outer join function_group fg11 on fg11.code = :new.function_group_11_code
    left outer join function_group fg12 on fg12.code = :new.function_group_12_code
    left outer join function_group fg13 on fg13.code = :new.function_group_13_code
    left outer join function_group fg14 on fg14.code = :new.function_group_14_code
    left outer join function_group fg15 on fg15.code = :new.function_group_15_code
    left outer join function_group fg16 on fg16.code = :new.function_group_16_code
    left outer join progress pg1 on pg1.code = :new.progress_1_code
    left outer join progress pg2 on pg2.code = :new.progress_2_code
    left outer join progress pg3 on pg3.code = :new.progress_3_code
    left outer join progress pg4 on pg4.code = :new.progress_4_code
    left outer join progress pg5 on pg5.code = :new.progress_5_code
    left outer join progress pg6 on pg6.code = :new.progress_6_code
    left outer join progress pg7 on pg7.code = :new.progress_7_code
    left outer join progress pg8 on pg8.code = :new.progress_8_code
    left outer join progress pg9 on pg9.code = :new.progress_9_code
    left outer join progress pg10 on pg10.code = :new.progress_10_code
    left outer join progress pg11 on pg11.code = :new.progress_11_code
    left outer join progress pg12 on pg12.code = :new.progress_12_code
    left outer join progress pg13 on pg13.code = :new.progress_13_code
    left outer join progress pg14 on pg14.code = :new.progress_14_code
    left outer join progress pg15 on pg15.code = :new.progress_15_code
    left outer join progress pg16 on pg16.code = :new.progress_16_code
    cross join sf_language
         END;
    END TEST_IF;
    given the following tables exist:
    create table logtable(newcode varchar2(10),
    sfcode varchar2(10),
    other varchar2(10)
    create table sf_language(code varchar2(10),
    id varchar2(10));
    create table progress(code varchar2(10),
    id varchar2(10));
    create table function_group(code varchar2(10),
    id varchar2(10));
    create table progress_state_16 (code varchar2(10),
    function_group_1_code varchar2(10),
    function_group_2_code varchar2(10),
    function_group_3_code varchar2(10),
    function_group_4_code varchar2(10),
    function_group_5_code varchar2(10),
    function_group_6_code varchar2(10),
    function_group_7_code varchar2(10),
    function_group_8_code varchar2(10),
    function_group_9_code varchar2(10),
    function_group_10_code varchar2(10),
    function_group_11_code varchar2(10),
    function_group_12_code varchar2(10),
    function_group_13_code varchar2(10),
    function_group_14_code varchar2(10),
    function_group_15_code varchar2(10),
    function_group_16_code varchar2(10),
    progress_1_code varchar2(10),
    progress_2_code varchar2(10),
    progress_3_code varchar2(10),
    progress_4_code varchar2(10),
    progress_5_code varchar2(10),
    progress_6_code varchar2(10),
    progress_7_code varchar2(10),
    progress_8_code varchar2(10),
    progress_9_code varchar2(10),
    progress_10_code varchar2(10),
    progress_11_code varchar2(10),
    progress_12_code varchar2(10),
    progress_13_code varchar2(10),
    progress_14_code varchar2(10),
    progress_15_code varchar2(10),
    progress_16_code varchar2(10))
    SQL> insert into progress_state_16 values ('1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1');
    1 row created.
    SQL> select * from logtable;
    no rows selected
    SQL>
    The data to make the select produce a result was not added. I hope your database difficulties are resolved. I hope the fact that the trigger builds gives you more confidence.
    Regards,
    Turloch
    Oracle Migration Workbench Team

  • Unable to display tree view; Error when parsing an XML document (Premature end of file.)

    Hi folks,
    I am using a cascaded mapping in my OM. I have a graphical mapping followed by the Java mapping. It is a flat file to IDOC mapping. Everything works fine in Dev but when I transport the same objects to QA, the Operation mapping though it doesn't fail in ESR testing tool, gives the following message and there is no output generated for the same payload which is successfully tested in DEV. Please advise on what could be the possible reasons.
    Unable to display tree view; Error when parsing an XML document (Premature end of file.)

    kalyan,
    There seems to be an invalid xml payload which causes this error in ESR not generating the tree view. Please find the similar error screenshot and rectify the payload.
    Mutti

  • JavaMapping in PI 7.1 Error:Unable to display tree view; Error when parsing

    hi,
    i get by testing in PI 7.1 (operation mapping) this ERROR:
    "Unable to display tree view; Error when parsing an XML document (Content is not allowed in prolog.)"
    this is my java-programm-code:
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import com.sap.aii.mapping.api.StreamTransformation;
    import java.io.*;
    import java.util.Map;
    import javax.xml.parsers.*;
    import org.xml.sax.*;
    import org.xml.sax.helpers.*;
    /*IMPORT statement imports the specified classes and its methods into the program */
    /Every Java mapping program must implement the interface StreamTransformation and its methods execute() and setParameter() and extend the class DefaultHandler./
    public class Mapping extends DefaultHandler implements StreamTransformation {
    Below is the declaration for all the variables we are going to use in the
    subsequent methods.
         private Map map;
         private OutputStream out;
         private boolean input1 = false;
         private boolean input2 = false;
         private int number1;
         private int number2;
         private int addvalue;
         private int mulvalue;
         private int subvalue;
         String lineEnd = System.getProperty("line.separator");
    setParamater() method is used to store the mapping object in the variable
    "map"
         public void setParameter(Map param) {
              map = param;
         public void execute(InputStream in, OutputStream out)
                   throws com.sap.aii.mapping.api.StreamTransformationException {
              DefaultHandler handler = this;
              SAXParserFactory factory = SAXParserFactory.newInstance();
              try {
                   SAXParser saxParser = factory.newSAXParser();
                   this.out = out;
                   saxParser.parse(in, handler);
              } catch (Throwable t) {
                   t.printStackTrace();
    As seen above execute() method has two parameters "in" of type
    InputStream and "out" of type OutputStream. First we get a new instance
    of SAXParserFactory and from this one we create a new Instance of
    SAXParser. To the Parse Method of SaxParser, we pass two parameters,
    inputstream "in" and the class variable "handler".
    Method "write" is a user defined method, which is used to write the
    string "s" to the outpurstream "out".
         private void write(String s) throws SAXException {
              try {
                   out.write(s.getBytes());
                   out.flush();
              } catch (IOException e) {
                   throw new SAXException("I/O error", e);
         public void startDocument() throws SAXException {
              write("");
              write(lineEnd);
              write("");
              write(lineEnd);
         public void endDocument() throws SAXException {
              write("");
              try {
                   out.flush();
              } catch (IOException e) {
                   throw new SAXException("I/O error", e);
         public void startElement(String namespaceURI, String sName, String qName,
                   Attributes attrs) throws SAXException {
              String eName = sName;
              if ("".equals(eName))
                   eName = qName;
              if (eName.equals("NUMBER1"))
                   input1 = true;
              if (eName.equals("NUMBER2"))
                   input2 = true;
         public void endElement(String namespaceURI, String sName, String qName)
                   throws SAXException {
              String eName = sName;
              if ("".equals(eName))
                   eName = qName;
              if (eName.equals("NUMBER1"))
                   input1 = false;
              if (eName.equals("NUMBER2"))
                   input2 = false;
         public void characters(char[] chars, int startIndex, int endIndex)
                   throws SAXException {
              String dataString = new String(chars, startIndex, endIndex).trim();
              if (input1) {
                   try {
                        number1 = Integer.parseInt(dataString);
                   } catch (NumberFormatException nfe) {
              if (input2) {
                   number2 = Integer.parseInt(dataString);
              if (input2 == true) {
                   addvalue = number1 + number2;
                   mulvalue = number1 * number2;
                   subvalue = number1 - number2;
                   write("" + addvalue + "");
                   write(lineEnd);
                   write("" + mulvalue + "");
                   write(lineEnd);
                   write("" + subvalue + "");
                   write(lineEnd);
    in developer studio 7.1 i dont get error.
    this happens by testing the mapping-programm in ESR.
    can somebody help me please?

    Make sure that the xml created out after the java mapping is a valid xml with only one root node.
    Regards,
    Prateek

  • Error When using web services on Oracle Application

    we are getting this error when we deployed code on Oracle Application, but same code working fine on Jdev.
    Exception java.rmi.RemoteException: ; nested exception is:
    HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: For input string: ""
    [546]:ERROR:[fnd.common.Message.auto_log]:FNDICX_JAVASCRIPT_DISCLAIMER
    Regards,
    Vivek Gautam

    Are you sure that you have posted your question to the correct forum? This forum is only for Oracle Enterprise Manager related issues.

  • Rapidwiz - libXtst.so.6 error when installing EBS R12 on Oracle Linux 6.3

    Hello All,
    I am getting libXtst.so.6 error when installing EBS R12 on Oracle Linux 6.3
    I could not find the exact file to download. Can anyone of you help me to the proper location.
    Thanks in advance.

    987696 wrote:
    Hello All,
    I am getting libXtst.so.6 error when installing EBS R12 on Oracle Linux 6.3
    I could not find the exact file to download. Can anyone of you help me to the proper location.
    Thanks in advance.Please see these docs -- Search for "libXtst.so.6".
    Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86 [ID 761564.1]
    Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64 [ID 761566.1]
    Oracle Forms Upgrade to 10.1.2.3 fails with error /usr/lib/libXtst.so.6: undefined reference [ID 1120527.1]
    Thanks,
    Hussein

  • Error when parsing the XML document

    hi all.
    i have the next problem.
    the sender sistem send to XI an XML. some tags send a '#' caracter.
    Sender Service send:
    Torre B1 - B#Unimev
    when Im traying to test XML inbound, XI show the next error:
    Error when parsing the XML document (Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0x14(:main:, row:1, col:992))
    XML:
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ZDEBMAS6>
    -   <IDOC BEGIN="1">
    -      <EDI_DC40 SEGMENT="1">
             <TABNAM>EDI_DC40</TABNAM>
             <MANDT>300</MANDT>
             <DOCNUM>0000000000339708</DOCNUM>
             <DOCREL>640</DOCREL>
             <STATUS>30</STATUS>
             <DIRECT>1</DIRECT>
             <OUTMOD>2</OUTMOD>
           </EDI_DC40>
    -      <E1KNA1M SEGMENT="1">
              <MSGFN>009</MSGFN>
              <REGIO>07</REGIO>
              <STCD1>20147972750</STCD1>
              <FITYP>01</FITYP>
              <STCDT>80</STCDT>
              <STCD3>0</STCD3>
    -         <Z1KNA1M SEGMENT="1">
                 <MSGFN>009</MSGFN>
                  <KUNNR>0001000563</KUNNR>
                  <ZZSOCRCV>3100</ZZSOCRCV>
                  <ZZGBDAT>00000000</ZZGBDAT>
              <b> <ZZAD_STREET_CO>Torre B1 - B Unimev</ZZAD_STREET_CO></b>
                  <ZZAD_ROOMNUM_CO>PB</ZZAD_ROOMNUM_CO>
                  <ZZAD_FLOOR_CO>E</ZZAD_FLOOR_CO>
                  <ZZAD_PSTCD1_CO>M5521AAR</ZZAD_PSTCD1_CO>
                  <ZZAD_CITY1_CO>Mendoza</ZZAD_CITY1_CO>
                  <ZZAD_REGIO_CO>07</ZZAD_REGIO_CO>
               </Z1KNA1M>
               <Z1ADRCM SEGMENT="1">
                  <MSGFN>009</MSGFN>
                  <KUNNR>0001000563</KUNNR>
               <b><STREET>Torre B1 - B Unimev</STREET></b>
                  <FLOOR>PB</FLOOR>
                  <HOUSE_NUM2>E</HOUSE_NUM2>
                  <CITY1>Mendoza</CITY1>
                  <POST_CODE1>5521</POST_CODE1>
                  <COUNTRY>AR</COUNTRY>
                  <REGION>07</REGION>
                  <LANGU>S</LANGU>
              </Z1ADRCM>
          </E1KNA1M>
        </IDOC>
    </ZDEBMAS6>
    Message was edited by: Rodrigo Pertierra
    Message was edited by: Rodrigo Pertierra

    Hi Rodrigo,
    Do you use a specific "encoding" like UTF-8 or ISO-8859-1 in your Sender CC.
    Try changing the Transfer mode to Binary instead of Text.
    Also go through these links:-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    Invalid char in XML from inbound IDoc
    Hope this provides a solution.
    Regards.
    Praveen

  • Persisting unexplained errors when parsing XML with schema validation

    Hi,
    I am trying to parse an XML file including XML schema validation. When I validate my .xml and .xsd in NetBeans 5.5 beta, I get not error. When I parse my XML in Java, I systematically get the following errors no matter what I try:
    i) Document root element "SQL_STATEMENT_LIST", must match DOCTYPE root "null".
    ii) Document is invalid: no grammar found.
    The code I use is the following:
    try {
    Document document;
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    factory.setValidating(true);
    factory.setNamespaceAware(true);
    DocumentBuilder builder = factory.newDocumentBuilder();
    document = builder.parse( new File(PathToXml) );
    My XML is:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <!-- Defining the SQL_STATEMENT_LIST element -->
    <xs:element name="SQL_STATEMENT_LIST" type= "SQL_STATEMENT_ITEM"/>
    <xs:complexType name="SQL_STATEMENT_ITEM">
    <xs:sequence>
    <xs:element name="SQL_SCRIPT" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <!-- Defining simple type ApplicationType with 3 possible values -->
    <xs:simpleType name="ApplicationType">
    <xs:restriction base="xs:string">
    <xs:enumeration value="DawningStreams"/>
    <xs:enumeration value="BaseResilience"/>
    <xs:enumeration value="BackBone"/>
    </xs:restriction>
    </xs:simpleType>
    <!-- Defining the SQL_SCRIPT element -->
    <xs:element name="SQL_SCRIPT" type= "SQL_STATEMENT"/>
    <xs:complexType name="SQL_STATEMENT">
    <xs:sequence>
    <xs:element name="NAME" type="xs:string"/>
    <xs:element name="TYPE" type="xs:string"/>
    <xs:element name="APPLICATION" type="ApplicationType"/>
    <xs:element name="SCRIPT" type="xs:string"/>
    <!-- Making sure the following element can occurs any number of times -->
    <xs:element name="FOLLOWS" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    and my XML is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    Document : SQLStatements.xml
    Created on : 1 juillet 2006, 15:08
    Author : J�r�me Verstrynge
    Description:
    Purpose of the document follows.
    -->
    <SQL_STATEMENT_LIST xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://www.dawningstreams.com/XML-Schemas/SQLStatements.xsd">
    <SQL_SCRIPT>
    <NAME>CREATE_PEERS_TABLE</NAME>
    <TYPE>CREATION</TYPE>
    <APPLICATION>DawningStreams</APPLICATION>
    <SCRIPT>
    CREATE CACHED TABLE PEERS (
    PEER_ID           VARCHAR(20) NOT NULL,
    PEER_KNOWN_AS      VARCHAR(30) DEFAULT ' ' ,
    PRIMARY KEY ( PEER_ID )
    </SCRIPT>
    </SQL_SCRIPT>
    <SQL_SCRIPT>
    <NAME>CREATE_COMMUNITIES_TABLE</NAME>
    <TYPE>CREATION</TYPE>
    <APPLICATION>DawningStreams</APPLICATION>
    <SCRIPT>
    CREATE CACHED TABLE COMMUNITIES (
    COMMUNITY_ID VARCHAR(20) NOT NULL,
    COMMUNITY_KNOWN_AS VARCHAR(25) DEFAULT ' ',
    PRIMARY KEY ( COMMUNITY_ID )
    </SCRIPT>
    </SQL_SCRIPT>
    <SQL_SCRIPT>
    <NAME>CREATE_COMMUNITY_MEMBERS_TABLE</NAME>
    <TYPE>CREATION</TYPE>
    <APPLICATION>DawningStreams</APPLICATION>
    <SCRIPT>
    CREATE CACHED TABLE COMMUNITY_MEMBERS (
    COMMUNITY_ID VARCHAR(20) NOT NULL,
    PEER_ID VARCHAR(20) NOT NULL,
    PRIMARY KEY ( COMMUNITY_ID, PEER_ID )
    </SCRIPT>
    </SQL_SCRIPT>
    <SQL_SCRIPT>
    <NAME>DROP_PEER_TABLE</NAME>
    <TYPE>DELETION</TYPE>
    <APPLICATION>DawningStreams</APPLICATION>
    <SCRIPT>
    DROP TABLE PEERS IF EXISTS
    </SCRIPT>
    </SQL_SCRIPT>
    <SQL_SCRIPT>
    <NAME>DROP_COMMUNITIES_TABLE</NAME>
    <TYPE>DELETION</TYPE>
    <APPLICATION>DawningStreams</APPLICATION>
    <SCRIPT>
    DROP TABLE COMMUNITIES IF EXISTS
    </SCRIPT>
    </SQL_SCRIPT>
    <SQL_SCRIPT>
    <NAME>DROP_COMMUNITY_MEMBERS_TABLE</NAME>
    <TYPE>DELETION</TYPE>
    <APPLICATION>DawningStreams</APPLICATION>
    <SCRIPT>
    DROP TABLE COMMUNITY_MEMBERS IF EXISTS
    </SCRIPT>
    </SQL_SCRIPT>
    <SQL_SCRIPT>
    <NAME>CREATE_COMMUNITY_MEMBERS_VIEW</NAME>
    <TYPE>CREATION</TYPE>
    <APPLICATION>DawningStreams</APPLICATION>
    <SCRIPT>
    CREATE VIEW COMMUNITY_MEMBERS_VW AS
    SELECT P.PEER_ID, P.PEER_KNOWN_AS, C.COMMUNITY_ID, C.COMMUNITY_KNOWN_AS
    FROM PEERS P, COMMUNITIES C, COMMUNITY_MEMBERS CM
    WHERE P.PEER_ID = CM.PEER_ID
    AND C.COMMUNITY_ID = CM.COMMUNITY_ID
    </SCRIPT>
    <FOLLOWS>CREATE_PEERS_TABLE</FOLLOWS>
    <FOLLOWS>CREATE_COMMUNITIES_TABLE</FOLLOWS>
    </SQL_SCRIPT>
    </SQL_STATEMENT_LIST>
    Any ideas? Thanks !!!
    J�r�me Verstrynge

    Hi,
    I found the solution in the following post:
    Validate xml with DOM - no grammar found
    Sep 17, 2003 10:58 AM
    The solution is to add a line of code when parsing:
    try {
    Document document;
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    factory.setValidating(true);
    factory.setNamespaceAware(true);
    factory.setAttribute("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");
    DocumentBuilder builder = factory.newDocumentBuilder();
    document = builder.parse( new File(PathToXml) );
    The errors are gone !!!
    J�r�me Verstrynge

  • Error when creating journal triggers

    I have table with 138 columns. When i try to generate journal triggers, HSU utility fails with error 6502 - numeric or value error. I was able to create journal triggers after i've deleted 30 rows. Are there any restrictions in number of columns when creating journal triggers?

    Hi,
    I wonder if you have a solution to the problem other than manually correcting the generated code. We are experiencing the same problem and no good solution yet
    (see post Journalling BR, error in CAPI (HSU 6523)
    kind regards
    Geert Verschueren

  • Interconnect DB adapter Error when connecting to DB Using Oracle Wallet

    Hi all,
    I have installed multiple DB adapters on a unix m/c and when i am starting the DB adapter( name ex: B) i am getting the following error.
    when i Hash (#)the passwd in adapter.ini without using oracle wallet my DB adapter gets connected if the same is removed i am getting the following Error.
    "java.sql.SQLException: invalid arguments in call"
    Oracle Wallet password have been set correctly and works fine with one of the DB adapter( name ex: A) and the same setting of A has been used in B.
    Would be glad if someone could help to give solution to track oracle wallet and database connectivity.
    Oailog.txt
    ~~~~~~~~~~
    Initializing the Bridge oracle.oai.agent.adapter.database.DBBridge..
    Initializing connection to the Repository...
    Connected to the Repository.
    B could not connect to the database
    regards
    yenyes

    The issue was solved.The workaround involved synchronising the security folders the one below the /interconnect and one below /adapters.

  • Error when register SQLServer driver

    Hi
    Error #: 302 : cannot access class com.microsoft.jdbc.sqlserver.SQLServerDriver; neither class nor source found for com.microsoft.jdbc.sqlserver.SQLServerDriver at line 19, column 63
    i have got the previous error when code the following code
    DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver());
    // connect to the DB by using the driver
    String connString = "217.52.98.102:1433;databasename=FleetWatch";
    String strDBConnect = "jdbc:microsoft:sqlserver://" + connString;
    conn = DriverManager.getConnection(strDBConnect, "sa", "");
    with best regards

    >
    Error #: 302 : cannot access class
    com.microsoft.jdbc.sqlserver.SQLServerDriver; neither
    class nor source found for
    com.microsoft.jdbc.sqlserver.SQLServerDriver at line
    19, column 63Do you hae the JAR for the SQL Server driver in your class path ?

  • Error when installing the JAVAVM in oracle 9.2

    Hi,
    Today I tried to install the JAVAVM in my database. The version of the database is 9.2 in HP unix mechine.
    I ran the script initjvm.sql. Few procedures for created successfully but after some time I got the below error and disconnected from oracle.
    Warning: Entry/Exit code is optimized. Cannot restore context (UNWIND 22)
    ERROR:
    ORA-03114: not connected to ORACLE
    I saw the count of java objects, the count is 8060.
    And in the dba_registry the JAVAVM state is in LOADING state.
    Your help is required.
    Thanks in advance,
    Raju

    Please consult oracle documentation [Oracle9i Java Developers Guide R2 | http://download.oracle.com/docs/cd/B10501_01/java.920/a96656/config.htm#1009388] look for Java memory requirements(You must have at least 20 MB of JAVA_POOL_SIZE and 50 MB of SHARED_POOL_SIZE)... and other requirements. I guess this could be a memory issue.

  • Error when installing APEX 3 on Oracle 11g !!

    I have Oracle db 11g on Windows Vista and there is no problem with the database. The problem is when I try to install Oracle Application Express (Apex) 3. After unzipping the Apex zip file to somewhere on my hard disk, I log to the database as sysdba using the command-line SQL*Plus to install the Application Express, but everytime I try to run the apexins.sql file the command-line SQL*Plus window disappears suddenly and the installation does not proceed !! I did all the prerequisite tasks according to the Apex installation guide and everything seemed good until I reached the installation process.
    Please help !

    Hi Joel,
    Yes, see
    Re: unable to import applications into Apex on XE
    That was on a XP Pro machine.
    I'm trying to do the same on a linux machine now and getting the same issues. It might still relate to the downloaded file I was using. I'm about to try and copy the apex folder from the XP pc to the linux pc and try again. :-(
    BTW, I can't find the 11g XE download link. Is it avaliable yet?
    Many thanks
    Regards
    Bryan

  • Error when install latest ODB with Oracle Designer

    I need to use Oracle Discoverer.
    So I removed all traces of Oracle from my machine.
    Installed Oracle Designer Suite.
    It worked.
    Then I installed Oracle Data Provider for .NET 9.2.0.2.102..
    I got 2 errors during install. One was due to a service (OracleHomeAgent) which I shut down easily.
    The other, was more trouble:
    Error in writing to file C:\Oracle\Ora92\bin\oci.dll
    I could find no more Oracle services to shut down.
    Nor did an IISRESET release it .
    So I told it to ignore copying that file.
    Then it finished.
    My web applications which use ODP seem to work fine.
    But am I at risk for some error?
    Why would OCI.DLL not allow itself to be installed?
    Is that a problem?
    thanks
    David Kreth Allen

    Most likely, some MS OS services, not Oracle services, are locking your oci.dll. Please refer to the following thread for a workaround.
    Re: Can't install 9.2.0.4 Beta on WinXP - oci.dll is locked

  • Received error when using Execute_Immediate proc in Oracle 8.0

    Hi,
    I was trying to use the execute_immediate proc (slightly
    revised, for testing). When I run it with a 'Delete' statement
    in it (or passed in), it works fine. But, when I use
    an 'Update' or 'Insert' statement in it, I get the error below,
    even though the proc compiled okay and it's in the database okay.
    SQL> exec Exec_Immed;
    begin Exec_Immed; end;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00905: object TEST.EXEC_IMMED is invalid
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    I tried using both the SQL stmts below (one at a time), but got
    the same error.
    CREATE OR REPLACE PROCEDURE Exec_Immed /*(v_SQLStmt IN VARCHAR2)
    IS
    v_CursorID INTEGER DEFAULT DBMS_SQL.OPEN_CURSOR;
    v_SQLStmt VARCHAR2(100);
    v_RetRows INTEGER;
    BEGIN
    v_SQLStmt := 'Update emp SET fname = ''David'' WHERE empno =
    40';
    v_SQLStmt := 'Insert into softlookup
    (softno,softname,updatedon,updatetype) values
    (50,''VS7'',sysdate,''A'')';
    DBMS_SQL.PARSE (v_CursorID, v_sqlstmt, DBMS_SQL.native);
    v_RetRows := DBMS_SQL.EXECUTE(v_CursorID);
    DBMS_SQL.CLOSE_CURSOR(v_CursorID);
    END;

    The simplest way to do what you are doing is to use a SQL
    statement by itself, either from the SQL prompt or from a .sql
    file:
    SQL> Update emp
      2  SET    ename = 'David'
      3  WHERE  empno = 40
      4  /
    0 rows updated.
    SQL> Insert into softlookup
      2    (softno,softname,updatedon,updatetype)
      3  values (50,'VS7',sysdate,'A')
      4  /
    1 row created.
    Or, if you want to do it from an anonymous pl/sql block:
    SQL> BEGIN
      2    Update emp
      3    SET    ename = 'David'
      4    WHERE  empno = 40;
      5    Insert into softlookup
      6      (softno,softname,updatedon,updatetype)
      7    values (50,'VS7',sysdate,'A');
      8  END;
      9  /
    PL/SQL procedure successfully completed.
    Or, if you want to do it in a procedure:
    SQL> CREATE OR REPLACE PROCEDURE procedure_name
      2  AS
      3  BEGIN
      4    Update emp
      5    SET    ename = 'David'
      6    WHERE  empno = 40;
      7    Insert into softlookup
      8      (softno,softname,updatedon,updatetype)
      9    values (50,'VS7',sysdate,'A');
    10  END procedure_name;
    11  /
    Procedure created.
    SQL> EXEC procedure_name
    PL/SQL procedure successfully completed.
    If you want to use DBMS_SQL to do it, even though it is
    unnecessary:
    SQL> CREATE OR REPLACE PROCEDURE procedure_name
      2  IS
      3    v_CursorID        INTEGER DEFAULT DBMS_SQL.OPEN_CURSOR;
      4    v_RetRows         INTEGER;
      5    v_SQLStmt         VARCHAR2 (4000);
      6  BEGIN
      7    v_SQLStmt := 'Update emp
      8                 SET    ename = ''David''
      9                 WHERE  empno = 40';
    10    DBMS_OUTPUT.PUT_LINE (v_SQLStmt);
    11    DBMS_SQL.PARSE (v_CursorID, v_SQLStmt, DBMS_SQL.NATIVE);
    12    v_RetRows := DBMS_SQL.EXECUTE (v_CursorID);
    13    DBMS_SQL.CLOSE_CURSOR (v_CursorID);
    14    v_SQLStmt := 'Insert into softlookup '
    15               || ' (softno,softname,updatedon,updatetype) '
    16             || ' values (50,''VS7'',sysdate,''A'')';
    17    v_CursorID := DBMS_SQL.OPEN_CURSOR;
    18    DBMS_OUTPUT.PUT_LINE (v_SQLStmt);
    19    DBMS_SQL.PARSE (v_CursorID, v_SQLStmt, DBMS_SQL.NATIVE);
    20    v_RetRows := DBMS_SQL.EXECUTE (v_CursorID);
    21    DBMS_SQL.CLOSE_CURSOR (v_CursorID);
    22  END procedure_name;
    23  /
    Procedure created.
    SQL> EXEC procedure_name
    Update emp
                   SET    ename = 'David'
                   WHERE  empno =
    40
    Insert into softlookup  (softno,softname,updatedon,updatetype) 
    values
    (50,'VS7',sysdate,'A')
    PL/SQL procedure successfully completed.
    Since you are using Oracle 8.0 and cannot use EXECUTE IMMEDIATE,
    if you want to use some variation, which is also unnecessary,
    then you can do something like I have shown below.  Note that
    the Exec_Immed procedure needs to be a procedure all by itself
    and not be modified.  Otherwise, you are defeating the purpose
    of substituting it for EXECUTE IMMEDIATE and not having to
    duplicate code.  The idea of using the Exec_Immed is to only
    create that procedure which contains all of the DBMS_SQL once,
    then use the really simple code below that to execute SQL
    statements from a pl/sql block.  If you are going to modify it,
    then you might as well use the DBMS_SQL method listed above.  In
    the version below, I have used the variable names and so forth
    that you have substituted for the original, as much as possible:
    SQL> CREATE OR REPLACE PROCEDURE Exec_Immed
      2    (v_SQLStmt IN VARCHAR2)
      3  IS
      4    v_CursorID       INTEGER DEFAULT DBMS_SQL.OPEN_CURSOR;
      5    v_RetRows        INTEGER;
      6  BEGIN
      7    DBMS_SQL.PARSE (v_CursorID, v_SQLStmt, DBMS_SQL.NATIVE);
      8    v_RetRows := DBMS_SQL.EXECUTE (v_CursorID);
      9    DBMS_SQL.CLOSE_CURSOR (v_CursorID);
    10  END Exec_Immed;
    11  /
    Procedure created.
    Then, to use your Exec_Immed procedure from an anonymous pl/sql
    block:
    SQL> BEGIN
      2    Exec_Immed ('Update emp
      3                 SET    ename = ''David''
      4                 WHERE  empno = 40');
      5    Exec_Immed ('Insert into softlookup
      6                   (softno,softname,updatedon,updatetype)
      7                 values (50,''VS7'',sysdate,''A'')');
      8  END;
      9  /
    PL/SQL procedure successfully completed.
    Or, to call your Exec_Immed procedure from another procedure:
    SQL> CREATE OR REPLACE PROCEDURE procedure_name
      2  AS
      3  BEGIN
      4    Exec_Immed ('Update emp
      5                 SET    ename = ''David''
      6                 WHERE  empno = 40');
      7    Exec_Immed ('Insert into softlookup
      8                   (softno,softname,updatedon,updatetype)
      9                 values (50,''VS7'',sysdate,''A'')');
    10  END procedure_name;
    11  /
    Procedure created.
    SQL> EXEC procedure_name
    PL/SQL procedure successfully completed.

Maybe you are looking for

  • When ever I reboot my device, I get an error message that says, "runtime error info.plist not found". What is this, how does it effect my ipod and how do I correct this error?

    I have an ipod touch 64gb. Lately, I discovered an error message on the lockscreen that says "Runtime Error Info.plist not found". What is this, will it effect my ipod, how does it effect my ipod and how do I correct the error? (I see the error messa

  • ITunes shuts down when trying to play video

    My iTunes software shuts down when I try to play a video from my iTunes Library or from the iTunes Store site. I have backed up the library and have tried to reinstall iTunes, but when I did the entire library reappeared and the same problem exists.

  • Int to Hex Progam

    Could someone help resolve this problem : I have created a program to change int to hex but it does not seem to woek ? What could be wrong ? import java.lang.String; import javax.swing.JOptionPane; // import class JOptionPane public class KcHexConver

  • Play Video Games on iMac

    Does it work to use a HDMI-DVI cable and then a DVI-MINI DVI cable to plug a PlayStation 3 into my iMac and play it in HD on the iMac screen? If not, is there another way I can do this?

  • RoutingEngineException

    Hi, We have populated PARTITION table… We have only 301 records in NODE_PART table. So we used procedure as exec SDO_ROUTER_PARTITION.partition_router('NODE_PART', 20); result of the above is SQL> exec SDO_ROUTER_PARTITION.partition_router('NODE_PART