Oracle 10g R2 - Metadata Issue With Version Controlled Resources

We are trying to utilize the Oracle 10g R2 feature that allows user-defined metadata to be attached to XML DB resources. However, we are encountering errors when we try to append/attach metadata to a version-controlled resource (VCR). The following steps were followed:
1. Register a new schema to be used for metadata (XMLSCHEMA.registerSchema).
2. Add a new resource to to the XML DB and make it version controlled (DBMS_XDB.createResource and DBMS_XDB_VERSION.makeVersioned).
3. Checkout the newly created version-controlled resource (DBMS_XDB_VERSION.checkout)
4. Add metadata to the version-controlled resource (DBMS_XDB.appendResourceMetadata)
However, after step 4, the errors shown below are encountered:
========================================================
begin
ERROR at line 1:
ORA-00600: internal error code, arguments: [qmxStrCopy: INLOB 2], [], [], [],
ORA-06512: at "XDB.DBMS_XDB", line 890
ORA-06512: at line 2
========================================================
The steps followed for adding metadata to a resource were taken from Chapter 26 of the "Oracle XML DB Developer's Guide 10G Release 2" (http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb_repos_meta.htm#sthref2302).
Is is possible to append and maintain metadata to an XML DB version controlled resource (VCR)? If so, what are the correct steps to do this? Note that if this is tried with a resource that is not version controlled, then no errors are encountered.
Thanks,
Steve

It appears that this issue has been solved in the next release of the database
QL> spool testcase.log
SQL> --
SQL> connect &1/&2
Connected.
SQL> --
SQL> var schemaURL varchar2(256)
SQL> var schemaPath varchar2(256)
SQL> var resourcePath varchar2(256)
SQL> --
SQL> begin
  2    :schemaURL := 'metadata.xsd';
  3    :schemaPath := '/public/metadata.xsd';
  4    :resourcePath := '/public/metadataTest.txt';
  5  end;
  6  /
PL/SQL procedure successfully completed.
SQL> call dbms_xmlSchema.deleteSchema(:schemaURL,4)
  2  /
Call completed.
SQL> declare
  2    res boolean;
  3    xmlSchema xmlType := xmlType(
  4  '<?xml version="1.0" encoding="UTF-8"?>
  5  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" elementFormDefault="qualified" attributeFormDefault="unqualified" xdb:storeVarrayAsTable="true">
  6          <xs:element name="root" type="rootType" xdb:defaultTable="METADATA_TABLE"/>
  7          <xs:complexType name="rootType" xdb:SQLType="METADATA_ROOT_T">
  8                  <xs:sequence>
  9                          <xs:element name="child" type="childType"/>
10                  </xs:sequence>
11          </xs:complexType>
12          <xs:complexType name="childType" xdb:SQLType="METADATA_CHILD_T">
13                                  <xs:sequence>
14                                          <xs:element name="Child1" type="xs:string"/>
15                                          <xs:element name="Child2" type="xs:string"/>
16                                  </xs:sequence>
17          </xs:complexType>
18  </xs:schema>
19  ');
20  begin
21    if (dbms_xdb.existsResource(:schemaPath)) then
22      dbms_xdb.deleteResource(:schemaPath);
23    end if;
24    res := dbms_xdb.createResource(:schemaPath,xmlSchema);
25  end;
26  /
PL/SQL procedure successfully completed.
SQL> begin
  2    dbms_xmlschema.registerSchema
  3    (
  4      :schemaURL,
  5      xdbURIType(:schemaPath).getClob(),
  6      TRUE,TRUE,FALSE,TRUE,
  7      enableHierarchy=>DBMS_XMLSCHEMA.ENABLE_HIERARCHY_RESMETADATA
  8    );
  9  end;
10  /
PL/SQL procedure successfully completed.
SQL> declare
  2    res boolean;
  3  begin
  4    if dbms_xdb.existsResource(:resourcePath) then
  5      dbms_xdb.deleteResource(:resourcePath,4);
  6    end if;
  7    res := dbms_xdb.createResource(:resourcePath,'Mary Had a Little Lamb');
  8  end;
  9  /
PL/SQL procedure successfully completed.
SQL> commit
  2  /
Commit complete.
SQL> select xdbUriType(:resourcePath).getClob()
  2  from dual
  3  /
XDBURITYPE(:RESOURCEPATH).GETCLOB()
Mary Had a Little Lamb
SQL> declare
  2    resid raw(16);
  3  begin
  4    resid := dbms_xdb_version.makeVersioned(:resourcePath);
  5  end;
  6  /
PL/SQL procedure successfully completed.
SQL> commit
  2  /
Commit complete.
SQL> begin
  2    dbms_xdb_version.checkout(:resourcePath);
  3  end;
  4  /
PL/SQL procedure successfully completed.
SQL> commit
  2  /
Commit complete.
SQL> set long 10000 pages 0 lines 150
SQL> --
SQL> select r.res.getClobVal()
  2    from resource_view r
  3   where equals_path(res,:resourcePath) = 1
  4  /
<Resource xmlns="http://xmlns.oracle.com/xdb/XDBResource.xsd" Hidden="false" Inv
alid="false" VersionID="1" ActivityID="0" Container="false" CustomRslv="false" V
ersionHistory="false" StickyRef="true">
  <CreationDate>2006-06-10T05:01:25.355009</CreationDate>
  <ModificationDate>2006-06-10T05:01:25.355009</ModificationDate>
  <DisplayName>metadataTest.txt</DisplayName>
  <Language>en-US</Language>
  <CharacterSet>UTF-8</CharacterSet>
  <ContentType>text/plain</ContentType>
  <RefCount>1</RefCount>
  <ACL>
    <acl description="Public:All privileges to PUBLIC" xmlns="http://xmlns.oracl
e.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sch
emaLocation="http://xmlns.oracle.com/xdb/acl.xsd                           http:
//xmlns.oracle.com/xdb/acl.xsd">
      <ace>
        <grant>true</grant>
        <principal>PUBLIC</principal>
        <privilege>
          <all/>
        </privilege>
      </ace>
    </acl>
  </ACL>
  <Owner>SCOTT</Owner>
  <Creator>SCOTT</Creator>
  <LastModifier>SCOTT</LastModifier>
  <SchemaElement>http://xmlns.oracle.com/xdb/XDBSchema.xsd#binary</SchemaElement
>
  <Contents>
    <text>Mary Had a Little Lamb</text>
  </Contents>
  <VCRUID>15DE79F263F7CC00E040578C2A0656F8</VCRUID>
</Resource>
SQL> begin
  2    dbms_xdb.appendResourceMetadata(:resourcePath,xmltype(
  3  '<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4         xsi:noNamespaceSchemaLocation="metadata.xsd">
  5      <child>
  6        <Child1>AAA</Child1>
  7        <Child2>BBB</Child2>
  8      </child>
  9  </root>'));
10  end;
11  /
PL/SQL procedure successfully completed.
SQL> commit
  2  /
Commit complete.
SQL> select r.res.getClobVal()
  2    from resource_view r
  3   where equals_path(res,:resourcePath) = 1
  4  /
<Resource xmlns="http://xmlns.oracle.com/xdb/XDBResource.xsd" Hidden="false" Inv
alid="false" VersionID="0" ActivityID="0" Container="false" CustomRslv="false" V
ersionHistory="false" StickyRef="true">
  <CreationDate>2006-06-10T05:01:25.355009</CreationDate>
  <ModificationDate>2006-06-10T05:01:25.558913</ModificationDate>
  <DisplayName>metadataTest.txt</DisplayName>
  <Language>en-US</Language>
  <CharacterSet>UTF-8</CharacterSet>
  <ContentType>text/plain</ContentType>
  <RefCount>1</RefCount>
  <ACL>
    <acl description="Public:All privileges to PUBLIC" xmlns="http://xmlns.oracl
e.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sch
emaLocation="http://xmlns.oracle.com/xdb/acl.xsd                           http:
//xmlns.oracle.com/xdb/acl.xsd">
      <ace>
        <grant>true</grant>
        <principal>PUBLIC</principal>
        <privilege>
          <all/>
        </privilege>
      </ace>
    </acl>
  </ACL>
  <Owner>SCOTT</Owner>
  <Creator>SCOTT</Creator>
  <LastModifier>SCOTT</LastModifier>
  <SchemaElement>http://xmlns.oracle.com/xdb/XDBSchema.xsd#text</SchemaElement>
  <Contents>
    <text>Mary Had a Little Lamb</text>
  </Contents>
  <VCRUID>15DE79F263F7CC00E040578C2A0656F8</VCRUID>
  <Parents>15DE79F263F8CC00E040578C2A0656F8</Parents>
  <root xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNam
espaceSchemaLocation="metadata.xsd">
    <child>
      <Child1>AAA</Child1>
      <Child2>BBB</Child2>
    </child>
  </root>
</Resource>
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.0.0 - Alpha
With the Partitioning and Data Mining options
I've filed bug 5313655 for the 10.2.x behavoir. If this is important to you you might want to consider signing up for the forthcoming beta program for the next release of the database

Similar Messages

  • Performance issues with version enable partitioned tables?

    Hi all,
    Are there any known performance issues with version enable partitioned tables?
    I’ve been doing some performance testes with a large version enable partitioned table and it seems that OCB optimiser is choosing very expensive plans during merge operations.
    Tanks in advance,
    Vitor
    Example:
         Object Name     Rows     Bytes     Cost     Object Node     In/Out     PStart     PStop
    UPDATE STATEMENT Optimizer Mode=CHOOSE          1          249                    
    UPDATE     SIG.SIG_QUA_IMG_LT                                   
    NESTED LOOPS SEMI          1     266     249                    
    PARTITION RANGE ALL                                   1     9
    TABLE ACCESS FULL     SIG.SIG_QUA_IMG_LT     1     259     2               1     9
    VIEW     SYS.VW_NSO_1     1     7     247                    
    NESTED LOOPS          1     739     247                    
    NESTED LOOPS          1     677     247                    
    NESTED LOOPS          1     412     246                    
    NESTED LOOPS          1     114     244                    
    INDEX RANGE SCAN     WMSYS.MODIFIED_TABLES_PK     1     62     2                    
    INDEX RANGE SCAN     SIG.QIM_PK     1     52     243                    
    TABLE ACCESS BY GLOBAL INDEX ROWID     SIG.SIG_QUA_IMG_LT     1     298     2               ROWID     ROW L
    INDEX RANGE SCAN     SIG.SIG_QUA_IMG_PKI$     1          1                    
    INDEX RANGE SCAN     WMSYS.WM$NEXTVER_TABLE_NV_INDX     1     265     1                    
    INDEX UNIQUE SCAN     WMSYS.MODIFIED_TABLES_PK     1     62                         
    /* Formatted on 2004/04/19 18:57 (Formatter Plus v4.8.0) */                                        
    UPDATE /*+ USE_NL(Z1) ROWID(Z1) */sig.sig_qua_img_lt z1                                        
    SET z1.nextver =                                        
    SYS.ltutil.subsversion                                        
    (z1.nextver,                                        
    SYS.ltutil.getcontainedverinrange (z1.nextver,                                        
    'SIG.SIG_QUA_IMG',                                        
    'NpCyPCX3dkOAHSuBMjGioQ==',                                        
    4574,                                        
    4575                                        
    4574                                        
    WHERE z1.ROWID IN (
    (SELECT /*+ ORDERED USE_NL(T1) USE_NL(T2) USE_NL(J2) USE_NL(J3)
    INDEX(T1 QIM_PK) INDEX(T2 SIG_QUA_IMG_PKI$)
    INDEX(J2 WM$NEXTVER_TABLE_NV_INDX) INDEX(J3 MODIFIED_TABLES_PK) */
    t2.ROWID
    FROM (SELECT /*+ INDEX(WM$MODIFIED_TABLES MODIFIED_TABLES_PK) */
    UNIQUE VERSION
    FROM wmsys.wm$modified_tables
    WHERE table_name = 'SIG.SIG_QUA_IMG'
    AND workspace = 'NpCyPCX3dkOAHSuBMjGioQ=='
    AND VERSION > 4574
    AND VERSION <= 4575) j1,
    sig.sig_qua_img_lt t1,
    sig.sig_qua_img_lt t2,
    wmsys.wm$nextver_table j2,
    (SELECT /*+ INDEX(WM$MODIFIED_TABLES MODIFIED_TABLES_PK) */
    UNIQUE VERSION
    FROM wmsys.wm$modified_tables
    WHERE table_name = 'SIG.SIG_QUA_IMG'
    AND workspace = 'NpCyPCX3dkOAHSuBMjGioQ=='
    AND VERSION > 4574
    AND VERSION <= 4575) j3
    WHERE t1.VERSION = j1.VERSION
    AND t1.ima_id = t2.ima_id
    AND t1.qim_inf_esq_x_tile = t2.qim_inf_esq_x_tile
    AND t1.qim_inf_esq_y_tile = t2.qim_inf_esq_y_tile
    AND t2.nextver != '-1'
    AND t2.nextver = j2.next_vers
    AND j2.VERSION = j3.VERSION))

    Hello Vitor,
    There are currently no known issues with version enabled tables that are partitioned. The merge operation may need to access all of the partitions of a table depending on the data that needs to be moved/copied from the child to the parent. This is the reason for the 'Partition Range All' step in the plan that you provided. The majority of the remaining steps are due to the hints that have been added, since this plan has provided the best performance for us in the past for this particular statement. If this is not the case for you, and you feel that another plan would yield better performance, then please let me know and I will take a look at it.
    One suggestion would be to make sure that the table was been recently analyzed so that the optimizer has the most current data about the table.
    Performance issues are very hard to fix without a reproducible test case, so it may be advisable to file a TAR if you continue to have significant performance issues with the mergeWorkspace operation.
    Thank You,
    Ben

  • Issue with copy control of Delivery document to Billing document

    Hi All,
    I am having some issue with copy control of Delivery document to Billing document.
    I am having two line items in Delivery documetn, one is for item to be delivered to customer and other which is created due to batch determination.
    Now , when I create billing document (VF01) with reference to this delivery document , I want only one line item (for the one which needs to be delivered to customer).
    I have used following things in  copy contro from ZLF to ZF2:
    Copying requirements: 004 ( Deliv-related item)
    Data VBRK/VBRP: 007 "(Inv.Split (Rec/Div))
    Is it correct or shall I use something else, so I have only one line item in Billing document.
    Regards
    Nidhi

    Pls. search the forum.
    Pls. refer the below link -
    Line with 0 quantity for main item with batch split
    Thanks

  • How to migrate Oracle 9i(32 bit) to oracle 10g(64 bit) DB with ASM

    How to migrate Oracle 9i(32 bit) to oracle 10g(64 bit) DB with ASM on SAME platform RHEL4.0
    Scenario My case:
    1) DB size 400G.
    2) Minimum downtime.
    3) oracle 9i(9.2.0.4) source DB.
    4) oracle 10g(10.2.0.3) target DB with ASM.
    5) Source DB (HOST A) and target DB (HOST B) Machine.
    Thanks
    Ashutosh

    I think Werner is suggesting you ask your question in the appropriate forum.
    Go up 2 levels (to Community Discussion Forum) and look for the Database category. It's not that difficult to find, and you will be discussing the question with people who actually care about that kind of question.
    The people who read and interact in this forum do so to discuss Documentation questions. Specifically questions about how to improve the documentaiton.

  • LabVIEW with version control

    Hi,
          I am using LabVIEW with version control and only want to check out the VI which I need to modify. If I changed a subVI all the VIs directly or indrectly called this VI got recompiled and in order to save them I need to check out all the VIs are affected. If I only check out the file I need to modify and ignore other recompiled VIs the problem is if I use typedef ENUM and I still want the automatically updated VI got saved. Does anybody run into this problem?
        Thanks for help!
        Regards,
        Tom
    Solved!
    Go to Solution.

    Yes, it can be a problem since LabVIEW stores the source and compiled code in the same file. There is an option to separate source from compiled code that addresses this problem. I have never used it and don't know if it causes any other problems.
    =====================
    LabVIEW 2012

  • Having an issue with Parental Controls...

    Hi, I'm having an issue with Parentel Controls.
    I run several student labs set with parental controls on the systems for a higher education facility. We don't have restricted access to web content (our students need to look up a lot of things, even some that would be considered racey, it's an arts school) and when I set it to "Allow Unrestricted Access" to web content, about a week or so later I'll start getting reports that content is being blocked. I go to check, and sure enough the controls are set to "restrict access to content".
    I've had two interations of this issue thus far and it's a pane to go through each system (there are a lot of systems) and manually reconfigure them back to default.
    Any tips?

    My son could not interact with sites (log in, post) but he could access them (when parental controls were turned on). I had to go under "preferences" on Firefox (under his name) First go to the drop down the menu from the word "Firefox" then "Preferences" "Privacy" (at the top) then "Exceptions" on the right..... and add each address of the sites and pages I wanted to allow. That worked like a charm!! Maybe pull up the itunes STORE address, copy and paste it in "always allow" (you can choose "block" also.....) This is in Firefox PREFERENCES, not just the parental control section.....
    Let us know if that helped! Apple was NO help. (I am an Apple fan, but I am not paying 49.99 to get a question answered by someone who didn't sound like he knew anything, anyway...) I think when you pay for a computer you deserve to have ALL the features work... Is that too much to ask?

  • Working with version control

    Hi everyone,
    What do I have to use to work with version control for Web Dynpro programming ?
    Is it DTR ?
    Thanks for the help.

    Hi
    Check out the links...
    <a href="/people/oleg.figlin/blog/2005/08/26/nwdi-overview-and-guidelines:///people/oleg.figlin/blog/2005/08/26/nwdi-overview-and-guidelines
    <a href="/people/sap.user72/blog/2005/09/07/have-you-bagged-a-project-if-so-its-time-to-install-jdi-java-development-infrastructure:///people/sap.user72/blog/2005/09/07/have-you-bagged-a-project-if-so-its-time-to-install-jdi-java-development-infrastructure
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1cdbdc90-0201-0010-d793-e62008b4afec">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1cdbdc90-0201-0010-d793-e62008b4afec</a>
    Hope al this info helps...
    Regards,
    Abhishek.

  • Issue in oracle 10g thin XA driver with weblogic 7 SP5

    Hi there,
    We are using oracle 10g thin,thin XA drivers(10.2.0.3) with oracle 10g as back end database and weblogic 7 SP 5. We are getting maximum open cursors exceeded exception after some time.
    The issue seems to be with "XAPrepared Statement Cache Size" property. Initially it was set to 5. When transactions are performed the database shows the count of open cursor to 300 which is the limit of open cursors set as database init params.
    When we set cache size to zero, the issue disappears and the cursor count is around 45. Even if the statement cahe size is set to 1, after some transactions max open cursor exceeded exception arises.
    Can som one elaborate the behavior of this property or the issue which underlies this.
    Any help would be greatly appreciated
    Regards

    Hi there,
    We are using oracle 10g thin,thin XA drivers(10.2.0.3) with oracle 10g as back end database and weblogic 7 SP 5. We are getting maximum open cursors exceeded exception after some time.
    The issue seems to be with "XAPrepared Statement Cache Size" property. Initially it was set to 5. When transactions are performed the database shows the count of open cursor to 300 which is the limit of open cursors set as database init params.
    When we set cache size to zero, the issue disappears and the cursor count is around 45. Even if the statement cahe size is set to 1, after some transactions max open cursor exceeded exception arises.
    Can som one elaborate the behavior of this property or the issue which underlies this.
    Any help would be greatly appreciated
    Regards

  • Install Oracle 10g on Linux RH with existing Oracle 9i

    I have Oracle enterprise 9i running on a linux server.
    Would i have any problem if I install Oracle10g for another db on the same server.
    What are the issues I should consider in order to avoid damage of the existing 9i db
    Thanks,
    Odette

    There is absolutely no problem if you have multiple oracle versions. Just beware of:
    Inventory location. Backup the inventory, in case something goes completely wrong, this is a usefull mean to perform a clean deinstall. If other version corrupts the inventory you have a valid backup copy.
    Oracle 10g installer is different from the 9i installer, use oui provided at install media, do not use already installed oui.
    When starting services, oracle will try to use 1521 default listener port. It can listen to all instances, even if they are from previous releases, it is advised to use the 10g listener. I would reccomend you, however to use a different port, this way you can perform several tests without messing with current 9i configuration.
    ~ Madrid.

  • Issue with Period Control Table after copying Essbase adapter

    Hi Experts,
    I'm working on version 11.1.1.3 and have copied the adapters (Essbase, Pull + EPRi) in the work bench so I can add an additional target for the FDM application. However, I have an issue with the import process; it returns an error with the Time & Periods (I guess it's something to do with the Periods category).
    I have reimported the Periods Control Table and updated the new application's Target Period & Year (whilst changing the system code in the Application settings to the newl adapter) and still receive the same error message.
    Any direction or thoughts would be welcome.
    Thanks
    Mark

    The time periods do not copy. You need to maintain them through the UI or upload them from excel. There is a KM article on this if you need additional detail.

  • Weird issue with sound control?

    I am not sure what is going on with my audio controls. I use MSI to control my audio (it's connected to the motherboard). The strange thing is, a crack appears on the "Reset EQ Setting" button.
    See link: http://www.facebook.com/photo.php?pid=30673857&l=2041bbbec3&id=1458901123
    That wasn't there when I first got the computer. Is there any way I could reinstall this? What could have caused the "crack" to appear? Has this happened to someone else?
    I have also noticed that sometimes when I am playing music, the sound wavers, as if I am adjusting the volume slowly up and down by 1 degree. Is this an issue with my motherboard or WMP? Please answer both questions.

    Quote
    I cannot find the MS-XXXX anywhere!
    Please read this thread:
    https://forum-en.msi.com/index.php?topic=113146.0
    If you can't find the model number, please look at the BIOS P.O.S.T. Status Screen and write down the full BIOS ID String as it appears in the following example picture:
    Example (taken from the second picture): A7375NMS V2.2
    The BIOS ID String will tell us a lot about the System.  In the above example, the following information can be decoded from the ID String:
    A...AMI BIOS Implementation
    7375 ... Model Number (=MS-7375)
    N... NVIDIA Chipset Board
    MS... MS Standard BIOS Release
    V2.2 ... BIOS Version 2.2

  • Oracle 10g Application Hang Issue ...... Please need Urgent Help

    Hello All,
    We have Linux server with Oracle Application 10g and Oracle 11g database.
    We have developed an application with JSP/Servlet. We are facing an wired issue with this application.
    When we start using system with 4-3 users at a time, after few mins or few hours, that application slow down or hang.
    and then after we are not even able to get a simple HTML page. It also affect the other applications as well, which are deployed on that server.
    We have tried our best but not able to find what the exact problem is. Even we have used visualVM and Jconsole to monitor the application.
    When application hang, we had found that there were 6,959 Loaded Classes, 200MB heap size, CPU usage 20%.
    We have set the heap size to 2GB.
    Another thing is, some procedures take 20sec to 2min to execute. But does this affect the application such a way that it goes hang?
    Please help to found out the problem.
    Thanks,
    Ankur Raiyani

    Hello,
    I have a simple question.
    If any procedure takes 40 - 45 sec to execute then will that affect the Oracle Application server and make all the deployed instance slow?
    Please help me out
    Thanks in advance ......
    Ankur Raiyani

  • Oracle 10g - Chinese Charecter issue

    Hi All
    I have the following scenario and I need your valuable inputs solve my problem
    I am using Oracle 10g version and I have a database created and it contains around 9 tables and 25k records, as per my current requirement I need to add few more columns in the existing tables and those new columns are going to be filled with contents from multiple languages (as of now Chinese and English). I went through Oracle 10g globalization guide and I understood that, for my requirements I need to add new columns with data types of either NVARCHAR or NCHAR.
    I created the following table and tried to insert some Chinese characters as follows but it’s not coming as expected and I’m getting inserted only ‘????’ in my table columns
    Please find below the list of my actions from SQL Developer
    create table Employee(EmpId varchar(255), EmpName NCHAR(255));
    insert into Employee(EmpId, EmpName) values('280129','彭俊睦');
    select * from Employee;280129 ¿¿¿
    insert into Employee(EmpId, EmpName) values('28018',N'彭俊睦');
    select * from Employee;280129 ¿¿¿
    28018 ¿¿¿
    When I run the “select * from v$nls_parameters;” query I’m getting the following data
    NLS_LANGUAGE --------- SIMPLIFIED CHINESE
    NLS_TERRITORY--------- AMERICA
    NLS_CURRENCY--------- $
    NLS_ISO_CURRENCY--------- AMERICA
    NLS_NUMERIC_CHARACTERS--------- .,
    NLS_CALENDAR--------- GREGORIAN
    NLS_DATE_FORMAT--------- DD-MON-RR
    NLS_DATE_LANGUAGE--------- SIMPLIFIED CHINESE
    NLS_CHARACTERSET--------- WE8ISO8859P1
    NLS_SORT--------- BINARY
    NLS_TIME_FORMAT--------- HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT--------- DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT--------- HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT --------- DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY--------- $
    NLS_NCHAR_CHARACTERSET--------- AL16UTF16
    NLS_COMP--------- BINARY
    NLS_LENGTH_SEMANTICS--------- BYTE
    NLS_NCHAR_CONV_EXCP--------- FALSE
    Please let me know what I’m doing wrong, and help me to solve this problem.
    Waiting for your update
    Thanks
    With Regards
    Venkatesh
    Edited by: user13118930 on May 21, 2010 5:20 PM

    Dear ,
    The problem is with your SQL>
    You can not use the unicode characters in the sql * plus ad the sql * plus is not able to identify them
    you need to do is as follow:
    you can use a high ide for the input and output which supports the unicode system for the chacaters input;
    as in the sql * plus if you are typing the chinese characters then sql*plus environment which is taking only the
    256 characters could not understand the given characters and hence ? is inserted as default exceptions for not recognising any characters....
    So use the graphical user interface to enter the data and extract the data..
    You can even take the html forms to enter the data for unicode character sets and any others developer
    forms using richtext box for the input...
    Even you can take the MS Access forms to enter the data in unicode supports and link the tables with oracle...
    If still problem then come back
    Best of luck

  • Oracle 10g DB create fails with jave.lang.StackOverflowError

    Hi all,
    wonder if you can help with my issue.
    I'm trying to install oracle 10g on Redhat ES4 on a virtual machine (VMplayer) on a HP Elite Book laptop. I've set swapspace to 4GB and have 1.5 Gb of RAM allocated to the virtual machine.
    I've set the ulimts and maxproc an the soft/hard nproc/nofile to appropraie values for the create.

    I don't think it's a java problem at all.................
    When I run dbca with the silent install I get the message
    "waiting for m_bReaderStarted to be true" - which is never is.
    So it isn't making a connection I suspect.
    The loistenser also won't start.
    10g is installed on linux es4 running on VM Player.
    I think the proble ,ay be to do with when I start dbca (or the listener) it doesn't connect.
    In /etc/hosts I have
    127.0.0.1 localhost.localdomain localhost
    and in the tnsnames.ora and listener.ora files i have the 'HOST = localhost.localdomain' (with post = 1521)
    Is /etc/hosts and the ora files set correctly ?

  • Configuration assistant error with Oracle 10g 10.2.02 with Solaris 10 6/06

    Hi all,
    As anyone seen this a fix for this error?
    I have installed Solaris 10 6/06 x86 on VMWare 5.2 which works fine.
    When I attempt to install Oracle 10g 10.2.02 for Solaris x86 (released in Sept 06), the install goes fine until I get to the configuration assistant stage.
    The first Net based configuration assistant fails with a Java exception which seems to be related to a Sig 11 in the libc library.
    This looks like an error fixed by a patch mentioned in the release notes but the patch does not seem to be available for this version of Solaris.
    Any comments would be greatly appreciated...
    Regards
    Anthony

    Hi all,
    Just to update this.
    I have deselected the create database option part of the install and Oracle installs OK!
    The problem is in the create database phase which I have manually done when I use the dbca program.
    When I get to the create database operation of the the dbca wizard, I get a the following error "ORA-00600, internal error code, arguments [kelntf-ldminit, [146],[1],[],[],[],[],[]"
    Any offers?

Maybe you are looking for

  • Airport has stopped working -- Now Can't Create a Network

    We're using a wireless router (not an Apple AirPort router) to connect to the internet. We've had connections before, but now this has simply stopped working. In the past, I've solved this problem by just creating a new network and connecting to that

  • Is itunes and the appstore down?

    I cant buy songs of apps, iTunes tells me its unable to connect. Are the severs down or is my iphone failing me? Thanks! Raymond

  • My mac mini won't connect with a win 7 pc

    we've just bought a new PC at work,(running Windows 7) the PC can find the Mac Mini but The MM can't find the PC. The MM is fully trusted by the norton anti virus on the PC, we've changed the encryption on the PC from 128bit. I've been into the MM ad

  • Incremantal Run

    We are facing a problem regarding Incremental Run in Oracle Warehouse Builder Tool. We have created some mappings by which the data is extracted from the source and inserted into the target tables. Each time all the records are selected again and upd

  • Onenote in RDP enviroment

    Hello, I am Running OneNote 2013 an I have a remote desktop connection to Server 2008R2, nut when I print to the Send to Onenote 2013 (redirected printer) I receive the following error from Onenote "Onenote can't do this action while a dialog windows