Chinese Input in Oracle Database 10g

Hi,
I have a problem of inputting chinese characters into the Oracle database.
I have no problem when I use the Oracle Database 9i to input the chinese characters with Enterprise Manager Console. However, when I use the Enterprise Manager Console to input the chinese characters, the chinese characters are displayed in "box" characters. The databases I created are with NLS_LANG characterset of AL32UTF8 and UTF8.
Please advise.
Cheers

dude if you are using jdeveloper 10.1.3.x for development of web service the library you have loadded into database dwwsclinet etc or sopa.jar or mail .jar will not work
for getting the output for the web services developed on jdeveloper you need following file to upload on database
wsclient_extended for 10.1.3.x.0 where x stands for your version
wsclient_extended.jar which can be downloaded from
http://download.oracle.com/otn/java/oc4j/1013x0/wsclient_extended_1013x0.zip the stands for subversion
xstands for your version
after downloading above file upload it
open up the socket by command
on SYS schema
SQL>call dms_java.grant_permission('YOUR_SCHEMA','SYS:java.net.SocketPermission','<IPaddress ofcomputer>:<portnumber>(eg 10.8.11.98:8888)','connect,resolve');
SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.util.PropertyPermission','*','read,write');
SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','createClassLoader','');
SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','getClassLoader','');
SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','setContextClassLoader','');
SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','setFactory','');
SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','setIO','');
SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','shutdownHooks','');
SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','accessClassInPackage.sun.util.calender','');
Now make a jar file which contain all your class files of proxy put that jar file on database an compile that jar file on database it should work than convert it into java stored procedure and invoke that procedure
Vishal Rijhwani
JAVA DEVELOPER
Message was edited by:
user635429

Similar Messages

  • Chinese Input in Oracle Database 10g (URGENT)

    Hi,
    I have a problem of inputting chinese characters into the Oracle database.
    I have no problem when I use the Oracle Database 9i to input the chinese characters with Enterprise Manager Console. However, when I use the Enterprise Manager Console to input the chinese characters, the chinese characters are displayed in "box" characters. The databases I created are with NLS_LANG characterset of AL32UTF8 and UTF8.
    Please advise.
    Cheers

    dude if you are using jdeveloper 10.1.3.x for development of web service the library you have loadded into database dwwsclinet etc or sopa.jar or mail .jar will not work
    for getting the output for the web services developed on jdeveloper you need following file to upload on database
    wsclient_extended for 10.1.3.x.0 where x stands for your version
    wsclient_extended.jar which can be downloaded from
    http://download.oracle.com/otn/java/oc4j/1013x0/wsclient_extended_1013x0.zip the stands for subversion
    xstands for your version
    after downloading above file upload it
    open up the socket by command
    on SYS schema
    SQL>call dms_java.grant_permission('YOUR_SCHEMA','SYS:java.net.SocketPermission','<IPaddress ofcomputer>:<portnumber>(eg 10.8.11.98:8888)','connect,resolve');
    SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.util.PropertyPermission','*','read,write');
    SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','createClassLoader','');
    SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','getClassLoader','');
    SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','setContextClassLoader','');
    SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','setFactory','');
    SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','setIO','');
    SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','shutdownHooks','');
    SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','accessClassInPackage.sun.util.calender','');
    Now make a jar file which contain all your class files of proxy put that jar file on database an compile that jar file on database it should work than convert it into java stored procedure and invoke that procedure
    Vishal Rijhwani
    JAVA DEVELOPER
    Message was edited by:
    user635429

  • Problem upgrading Apex 2.1 to 3.2.1 in Oracle Database 10g Express Edition

    G'Day Apex gurus,
    I installed Oracle Database 10g Express edition in my Windows XP PC which comes with Apex 2.1 with no problems. Then I wanted to upgrade Apex 2.1 to 3.2.1 (Currently Apex download in OTN) following the document below:
    http://www.oracle.com/technology/products/database/application_express/html/3.1_and_xe.html
    I went to the steps:
    @apexins SYSAUX SYSAUX TEMP /i/
    Then to change the password for the admin account run apxchpwd.sql and when prompted enter a password for the ADMIN account.
    @apxchpwd
    with not problems
    Then I connected to SQL*Plus as SYS by:
    sqlplus /nolog
    CONNECT SYS as SYSDBA
    Enter password: xxxxxxxxxxx
    but when I tried to run:
    @APEX_HOME/apex/apxldimg.sql APEX_HOME
    where APEX_HOME is Apex3.2.1 in my case
    SQL> @Apex3.2.1/apex/apxldimg.sql Apex3.2.1 (I get the messages below)
    PL/SQL procedure successfully completed.
    old   1: create directory APEX_IMAGES as '&1/apex/images'
    new   1: create directory APEX_IMAGES as 'Apex3.2.1/apex/images'
    Directory created.
    declare
    *+
    ERROR at line 1:
    ORA-22288: file or LOB operation FILEOPEN failed
    The system cannot find the path specified.
    ORA-06512: at "SYS.DBMS_LOB", line 523
    ORA-06512: at "SYS.XMLTYPE", line 287
    ORA-06512: at line 15
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    Commit complete.
    timing for: Load Images
    Elapsed: 00:00:00.17
    Directory dropped.
    Can anyone help me in how to trouble shout this?
    I tried to continue by following the steps document
    @APEX_HOME/apex/apxxepwd.sql password
    (where password is the password of the Application Express internal ADMIN account)
    but when I tried to login in:
    http://localhost:8080/apex/f?p=4550:1
    when I type the credentials
    system
    system
    systempassword
    nothing happens
    or even If I try:
    http://localhost:8080/apex/f?p=4550:10
    admin
    adminpassword
    nothing happens here too.
    I appreciate any help
    Kind regards
    Carlos

    My database version is 10.2.0.1.0 Oracle express.
    Operating system is Windows Vista.
    I started installing using the following commands.
    @ C:\temp\apex\apexins.sql
    it prompts me for the values of sysaux sysaux temp and c:\temp\apex\images\
    If I supply the value for images the sqlplus window closes after scrolling a lot of info.
    Enroute it also prompts me for a value for 9:
    I don't know what the input shall be.
    Then it again stops at enter value for version:
    I used 3.2.1.0
    The window scrols a while and closes.
    later I changed the password and ran the command.
    @c:\temp\apex\apxldimg.sql c:\temp
    but no success with installation.
    the output is as following.
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 27 18:13:43 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect system/sairam as sysdba;
    Connected.
    SQL> @ c:\temp\apex\apxchpwd
    Enter a value below for the password for the Application Express ADMIN user.
    Enter a password for the ADMIN user []
    Session altered.
    ...changing password for ADMIN
    wwv_flow_security.g_security_group_id := 10;
    ERROR at line 3:
    ORA-06550: line 3, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_SECURITY_GROUP_ID' must be declared
    ORA-06550: line 3, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 4, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_USER' must be declared
    ORA-06550: line 4, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 5, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
    ORA-06550: line 5, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 8, column 23:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 7, column 15:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 13, column 32:
    PLS-00364: loop index variable 'C1' use is invalid
    ORA-06550: line 12, column 9:
    PL/SQL: Statement ignored
    ORA-06550: line 19, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
    ORA-06550: line 19, column 5:
    PL/SQL: Statement ignored
    Commit complete.
    SQL> @c:\temp\apex\apxldimg.sql c:\temp
    PL/SQL procedure successfully completed.
    Directory created.
    if wwv_flow_utilities.db_version_is_at_least('11') then
    ERROR at line 32:
    ORA-06550: line 32, column 25:
    PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
    ORA-06550: line 32, column 3:
    PL/SQL: Statement ignored
    PL/SQL procedure successfully completed.
    if wwv_flow_utilities.db_version_is_at_least('11') then --11g only
    ERROR at line 16:
    ORA-06550: line 16, column 25:
    PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
    ORA-06550: line 16, column 3:
    PL/SQL: Statement ignored
    Commit complete.
    timing for: Load Images
    Elapsed: 00:00:00.32
    Directory dropped.
    SQL>
    Does this require XE 11 or anything else.
    This will happen even if I supply as following(closing of sqlplus in the begining).
    @ C:\temp\apex\apexins.sql sysaux sysaux temp c:\temp\apex\images\
    Any help.

  • Oracle Database 10g Express Edition Beta 2 Installation

    Oracle Database 10g Express Edition Beta 2 Release for Microsoft Windows installation successful, no problems.

    Hi Rekha,
    The format mask 999G999G999G999G990D0000 is the format mask that I selected from the software itself. I also use this format mask for a single record update. If' s ok, no error, but with tabular form with multiple record update, it shows error .I also changed the decimal point to two digits ,select from software pop-up window (this was tested in the workspace provide by Oracle). It still shows error. Last test I put the space like 1 111,111.00 in a single record update it shows error (but if I put 1 in front of 111,111 without space it's ok-no space before). My point is from user point of view.In the first time user input 100000 the software accept it. Opp! it has to be 1100000. The user comes back after submit and put 1 without comma.It shows error (in tabular form with multiple record update not in single row update). While in the first time the user do not to key any comma at all. This may makes some confuses both the users and the developers which had to check error by adding program to checking some where in Page Processing or Page Rendering.
    Thanks
    Tritep

  • How to call web services from oracle database 10g

    Hi all ,
    How can i call web services from oracle database 10g ?
    thanks ...

    abdou123 wrote:
    but how can i get complex result
    for example
    i pass input parameter like National Id Number
    and get the person details ( name , age , date of birth , ............ ) .Basic approach to web services using UTL_HTTP explained in {message:id=10448611}.
    An example of using a pipeline table function as a data transformation process (turning web data into rows and columns) in {message:id=10158148}.

  • Oracle Database 10g relase 1 Installation Problem on RHEL 3 ES

    Dear all
    I'm trying to install oracle database 10g r1 X86_64 on Intel Xeon Machine with EM64T technology with RHEL 3 ES update 2 X86_64 edition. The problem is described below :
    Oracle OUI .runInstaller collapsed with such a following error:
    An unexpected exception has been detected in native code outside the
    VM.
    Unexpected Signal : 11 occurred at PC=0x8077470
    Function=[Unknown.]
    Library=(N/A)
    Is there anyone can help me ??

    Check pushitz website and ensure that you have all the required rpms installed properly.
    Check the log files in the installation directory. That should give some more details as to what exactly is going on.

  • Unable to continue Oracle Database 10g R2 installation on IBM AIX 5.3L

    I am facing some difficulties in installing the above. My environment is as follows:
    Server is a IBM system P, OS is AIX 5.3L and oracle version is Oracle Database 10g R2 (10.2).
    I encounter my problem when asked to changed/edit the shell script when changing oracle users. I can't find the % vi .login file. And I'm not sure how to proceed.
    Please advice as to what needs to be done.
    Thank you

    i'm using bash shell.If you are using a bash shell then .bash_profile is used by default.
    It is located in user's home, if it does not exist then simply create it.
    can this file be edited after installation?Yes. And also you can set the enviroment temporary (just for current session)
    I just can't find the vi .login file."vi" is command (text editor very common in Unix and Unix like world)
    .login does not need to exist (see .bash_profile as above). Note .login is ignored by bash shell.

  • Important--Bug(ORA-22813) fixes in Oracle Database 10g  Release 10.2.0.4

    Hi,
    I found that in SELECT STATEMENTs where we use "xmlagg() functions with a GROUP BY/ORDER BY,it fails with ORA-22813 if the result is too large.
    This happens as there is a hard coded limit on the result size. (max 30k)
    Next,i confirmed that and when i removed a portion of the XML agg() values and executed it---Wonders,it runs perfectly fine.
    This means that ""xmlagg() functions with a GROUP BY/ORDER BY,fails with ORA-22813 since the result is too large.
    I have come to know that patch "Release 10.2.0.4" has the fix for Bug-22813 for "xmlagg() functions with a GROUP BY/ORDER BY".
    Could you all please confirm that "Oracle Database 10g Release 10.2.0.4" (patch 10.2.04) fixes the issue?
    Based on your confirmation,i can go ahead to get the patch installed.
    Current Version:-Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    Thanks
    Mainak

    Your query should be written something like this..
    select d.*
      from fbnk_customer,
           XMLTABLE
              '//c3'
              passing XMLRECORD
              columns
              C3_VALUE varchar2(60) path 'text()'
           ) d
    where recid='1001400'; Although it would be better to use an extact path expression rather than '//c3'

  • Problem in starting SQL*PLUS in oracle database 10g

    Hi
    Well I am facing one problem while starting SQL*PLUS in oracle database 10g
    ERROR - "Procedure entry point longjmp could not be located in dynamic link library orauts.dll"
    This has happened when I installed Oracle Database 11g on same machine and when I deinstalled Oracle 11g then SQL*PLUS is started...no error came
    Can anybody tell me the reason please...

    hi
    pls im having the same problem but in my own case i installed oracle apex using 11g.
    im env variable is:
    C:\Oracle\product\10.1.0\Client_1\bin;C:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin\client;C:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin;C:\app\Xty\product\11.2.0\dbhome_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\
    pls which is my apex_home so i can interchange it?
    i also have oracle 10g client installed

  • Problem with Character Set in Oracle database 10g

    Hi,
    I tried to import one tablespace into test server. Source server with Oracle 8i and Target server with Oracle database 10g. The error I get is
    Import: Release 10.2.0.1.0 - Production on Thu Aug 3 00:20:49 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Username: sys as sysdba
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V08.01.07 via conventional path
    About to import transportable tablespace(s) metadata...
    import done in WE8DEC character set and AL16UTF16 NCHAR character set
    export server uses WE8DEC NCHAR character set (possible ncharset conversion)
    . importing SYS's objects into SYS
    . importing SYS's objects into SYS
    IMP-00017: following statement failed with ORACLE error 19736:
    "BEGIN sys.dbms_plugts.beginImport ('8.1.7.4.0',2,'2',NULL,'NULL',67051,25"
    "51,2); END;"
    IMP-00003: ORACLE error 19736 encountered
    ORA-19736: can not plug a tablespace into a database using a different national character set
    ORA-06512: at "SYS.DBMS_PLUGTS", line 2386
    ORA-06512: at "SYS.DBMS_PLUGTS", line 1946
    ORA-06512: at line 1
    IMP-00000: Import terminated unsuccessfully
    PLZ somebody help in geting resolve this. Has anybody seen this error before.

    The solution to this problem is described in MetaLink note #211920.1. But this note is published with LIMITED access as it involves using a hidden parameter.
    You can get access to the note through Oracle Support only.
    The problem itself is solved generically, if the source database is at least 10.1.0.3 and the target database is 10.2
    -- Sergiusz

  • Creating a new database in Oracle Database 10g...

    I have downloaded a copy of Oracle Database 10g Express Edition from Oracle's website. I am using Windows XP. I am trying to create an Oracle database that I can connect to from Access 2003 via ODBC.
    1. How do I create a new database? I can see options to create tables, views, etc. but not a database.
    2. I have created a System DSN connection in the ODBC Data Source Administrator for the Oracle ODBC driver. Once I create a database in Oracle, how do I actually establish a connection to it from Access? The ODBC code to connect is there, but when I run it, I get an error.
    Any help would be appreciated. Thanks.

    1. How do I create a new database? I can see options to create tables, views, etc. but not a database.If you can see those options then you are already connected to the database. You probably want to create a user, not a database (are you by chance coming from SQL Server?)
    driver={OracleDriver};Dbq=TESTDBQ;Uid=Administrator;Pwd=;You would replace "Administrator" with the name of the user you created in the database.

  • Store PDF File in Oracle database 10g

    Hi all,
    I want to store PDF File in Oracle database 10g,
    and then I want to access the pdf file using Oracle Developer 6i
    can anyone tell me how to do this,
    thanks in advance.

    This question has already been posted a lot of times.....
    See the following:
    http://forums.oracle.com/forums/search.jspa?threadID=&q=pdf+file&objID=f82&dateRange=lastyear&userID=&numResults=15
    Greetings,
    Sim

  • How to 100% Protect PL/SQL Code By Wrapped in Oracle Database 10g R2

    Hello,
    Is Possible to 100% Protect PL/SQL Code By Wrapped in Oracle 10g R2 ?
    If it is not possible by wrap in oracle 10g R2,
    Please, let me suggest, how i will be able to 100% protect PL/SQL code in Oracle Database 10g R2.
    Because, I have lot of functions, procedures & package's in my project.
    Which is running in field filed.
    So, i have needed to protect 100%.
    Also, will i convert to al functions, procedures & package's to .pll file ?
    And .pll file to .plx file?
    Is it possible to convert .plx file to .pll file ?
    Please, let know any better solutions in this case....
    Regards
    Mehedi

    Hello,
    No, wrapping is not a 100% secure method. It could prevent your code from amateurs, but not from professional hackers. Look at the article http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/wrap.htm#BEHGBJAA
    It says: "•Wrapping is not a secure method for hiding passwords or table names.
    Wrapping a PL/SQL unit prevents most users from examining the source code, but might not stop all of them."
    Edited by: apiminov on 03.12.2012 3:23
    Edited by: apiminov on 03.12.2012 3:24

  • Scheduled job in oracle database 10g release 2

    I have scheduled a batch job job to run once a day at 8.30 in the morning
    but the program runs twice a day, onca at acheduled time and once in the evening 18.30.
    I am unable to find any reference to the batch program in the job any where.
    Database version: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    Operating system version: HP-UX B.11.11

    This job is scheduled through dba_jobs.
    JOB     LOG_USER     PRIV_USER     SCHEMA_USER     LAST_DATE     LAST_SEC     THIS_DATE     THIS_SEC     NEXT_DATE     NEXT_SEC     TOTAL_TIME     BROKEN     INTERVAL     FAILURES     WHAT
    7353     FPCDBA     FPCDBA     FPCDBA     01/03/11 08:31:08     08:31:08               02/03/11 08:31:08     08:31:08     29118     N     SYSDATE+ 1     0     FRB05101;

  • How to install Oracle Label Security in Oracle Database 10g EE

    Hello All
    I just want to know how to install Oracle Label Security in Oracle 10g Database EE.
    I read in Oracle Enterprise Manager Grid Control Installation and Basic Configuration that Label Security must be installed before installing Enterprise Manager Grid Control.
    I have Oracle Database 10g Release 1 (10.1.0.1) on my Windows XP System, and I patch it to 10.1.0.3.
    M.
    Sorry about my English.

    Options is to connect to Oracle Policy Manager or use Oracle Internet Directory (OID)to administer Oracle Label Security.
    Find more ways in the Documentation here:
    http://download-uk.oracle.com/docs/cd/B19306_01/network.102/b14267/toc.htm

Maybe you are looking for