NLS_NCHAR_CHARACTERSET in Forms 10.1.2.0.2 against Oracle Database 10gR2

Hi,
I have the "¿¿¿¿¿¿¿¿¿¿ ¿¿¿¿¿¿¿¿¿"-Problem in Forms 10.1.2.0.2 with russian text.
Environment:
1. Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
2. NLS of database
NLS_LANGUAGE GERMAN
NLS_TERRITORY GERMANY
NLS_CHARACTERSET WE8MSWIN1252
NLS_NCHAR_CHARACTERSET AL16UTF16
3. Developer Suite 10gR2(10.1.2.0.2)
NLS_LANG=GERMAN_GERMANY.UTF8 (default.env)
3. Developer Suite 10g (9.0.4)
NLS_LANG=GERMAN_GERMANY.UTF8 (default.env)
4. Developer 10g and 10gR2 are on the same workstation
Steps:
1. Create a table:
CREATE TABLE TEST_NCHAR
C_NVARCHAR NVARCHAR2(100)
2. I import a file (unicode little endian) of russian words in the table with the sql*loader (10.2.0.1.0) and following import.ctl:
LOAD DATA
CHARACTERSET UTF16
INFILE 'russisch2.txt'
BADFILE 'russisch.bad'
DISCARDFILE 'russisch.dsc'
APPEND
INTO TABLE test_nchar
FIELDS TERMINATED BY X'000A'
TRAILING NULLCOLS
(c_nvarchar)
3. I try the same steps in Forms 10g (9.0.4) and 10.1.2.0.2
a) Open the Forms Builder
b) Generate a form with the assistant from the table test_nchar
c) create a when-new-form-instance-trigger (message(get_application_property(user_nls_lang));
d) Start the oc4j with the changed default.env
e) Start the form
-> in the status bar I get in both version GERMAN_GERMANY.UTF8
-> I execute the query
- In 10g (9.0.4) I get in the form the russian text
- In 10gR2 (10.1.2.0.2) I get in the form "¿¿¿¿¿¿¿¿¿¿ ¿¿¿¿¿¿¿¿¿"
Why I get "¿¿¿¿¿¿¿¿¿¿ ¿¿¿¿¿¿¿¿¿"?
thanks in advance,
Lars

No idea's, link,...

Similar Messages

  • Proxy User - Forms 11.1.2 and Oracle Database (version 10.1.0.5) ??

    Hi,
    we are migrating from Forms 6i to 11.1.2. Our database version is very old (Enterprise Edition, version 10.1.0.5) because this is the latest version of the DB that Forms 6i runs, and we will migrating to 11g in phases. So 6i and 11g will co-exists for a while (accesing the same DB).
    I am trying to use proxy users feature to login to database.
    So I did this:
    - I created a user PROXY_USR to be the proxy user:
    SQL> create user PROXY_USR identified by PROXY_PASW;*
    - I grant create session for the user:
    SQL> grant create session to PROXY_USR;*
    - I changed the application users (eg APPUSER01), to connect via proxy user:
    SQL> alter user APPUSER01 grant connect through PROXY_USR;*
    The comand in Forms module to login is:
    +LOGON('PROXY_USR[APPUSER01]','PROXY_PASW@DB01');+*
    The logon built is being performed and the connection being made, without erros.
    But when I verify in what user the application is logged on, the result is not
    what was expected:
    I did the follwing PL/SQL inside Form module:
    begin*
    select user into v_user_DB from dual;*
    MESSAGE('User Connected: '||v_user_DB,ACKNOWLEDGE);*
    exception*
    when others then*
    MESSAGE('ERR: '||SQLERRM,ACKNOWLEDGE);*
    end;*
    The result from this select, is PROXY_USR and not APPUSER01 (that would be the correct):
    *>>Result: "User Connected: PROXY_USR"*
    Some more commands that were also performed inside Forms module:
    begin+
    select sys_context('userenv','current_user') v_current_usr from dual+
    MESSAGE('Current User: '||v_current_usr,ACKNOWLEDGE);+
    exception+
    when others then+
    MESSAGE('ERR: '||SQLERRM,ACKNOWLEDGE);+
    *>>Result: "User Connected: PROXY_USR"*
    begin+
    select sys_context('userenv','proxy_user') v_proxy_user from dual;+
    MESSAGE('Current User: '||v_proxy_user,ACKNOWLEDGE);+
    exception+
    when others then+
    MESSAGE('ERR: '||SQLERRM,ACKNOWLEDGE);+
    *>>Result: "Proxy User: "*
    OBS: when a connect via SQL*Plus, in a 11g database (Express), and run the commands above, the results are OK. The
    APPUSER01 is returned.
    Any ideas ?? I will open a SR in Metalink, but I think they will first request a database upgrade,
    which is not feasible for us at the moment ...
    Thanks in Advance.
    Franco

    Unfortunately besides trying on a certified combination (maybe use the Developer Database VM and import the required schemas for trial) and going through the documentation at http://docs.oracle.com/cd/E24269_01/doc.11120/e24477/sso.htm I can't offer more. I don't have a 10gR1 database anymore and also I don't have OID to play with.
    cheers

  • How to connect more than one oracle databases in single form?

    Hi,
    I have installed Oracle database in three different servers with different users, but the table's structure are same in all three different database users.
    Now in one D2K form i want to connect and access, all three different database users at a time.
    If anybody know answer for this please replay.
    My mail Id: [email protected]
    Regards
    Mahaveer

    You can access other databases/schemas by means of the built-in-package EXEC_SQL. See online help in Forms Builder, especially EXEC_SQL.Open_Connection, EXEC_SQL.Open_Cursor, EXEC_SQL.Fetch_Rows, ...
    If you want to base your blocks on several database connections at the same time, you should write your own on-select, on-fetch, on-lock, ... triggers, I suppose.
    Marc

  • Oracle Forms 6i(32-bit)  = Oracle database 10g R2 Windows 2008 R2 64-bit)

    We have Oracle database 10g R2 installed on a Microsoft Windows 2008 R2 (64-bit) (SERVER1)
    We have Oracle Forms 6i (patch 4a) installed on a Microsoft Windows XP Professional (32-bit) (SERVER2)
    I am not able to connect from SERVER2 to SERVER1, either through SQLPLUS or FORMS BUILDER.
    Its giving some DLL error.
    Is it because forms 6i (32-bit) cannot connect to a 64-bit database on a 64-bit OS ?

    There might be problems with 8i clients (like forms 6i) if the database uses AL32UTF8 characterset indeed (if you need unicode and you need to run forms 6i use UTF8 instead) but this should not be related to the platform of the database.
    The platform of the database server really should not matter as the forms runtime talks via SQL*Net with the database server and in the end it does not matter if the database runs on linux, windows whatsoever or unix 32 or 64 bit for the client. The only problem you'll encounter is that SQL*Net also changes with versions and thus "older" clients might not be able to communicate with "newer" servers and vice versa.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for 64-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    SQL> select * from v$nls_parameters where parameter = 'NLS_CHARACTERSET';
    PARAMETER                                                       |VALUE
    ----------------------------------------------------------------|---------------------------
    NLS_CHARACTERSET                                                |WE8MSWIN1252
    SQL>I just tried a 6i form (6.0.8.25.2) connected to this database. It worked ;) (again: not certified)
    cheers

  • View pdf file stored in oracle database through oracle forms

    Forms [32 Bit] Version 10.1.2.0.2 (Production)
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    Oracle Toolkit Version 10.1.2.0.2 (Production)
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle Query Builder 10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
    Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE     10.1.0.4.0     Production
    I have created external directory and am able to load pdf files in oracle database table called test_blob.
    CREATE TABLE test_blob (
    id NUMBER(15)
    , file_name VARCHAR2(1000)
    , image BLOB
    , timestamp DATE
    I have 2 pdf files in the table. I want to view this pdf from forms when the user clicks on the button. On when-button-pressed trigger I want to show pdf on the screen. Any help is appreciated. Not on the designer. I want to run form application.
    SELECT id, file_name,
    DBMS_LOB.GETLENGTH(image) Length,
    timestamp
    FROM test_blob
    ID|FILE_NAME|LENGTH|TIMESTAMP
    1001|2011 HeartlandEmployeeReferralCard.pdf|353718|1/28/2013 11:44:41 AM
    1002|2011 HeartlandEmployeeReferralCard.pdf|353718|1/28/2013 11:51:07 AM
    Edited by: user_anumoses on Jan 28, 2013 11:45 AM

    We were able to do the same thing with Oracle Application Server and Oracle WebLogic Server. I cannot remember how different the processes were, but it seems like they were very similar. I am going to give you the instructions on how we implemented a "Read PDF" procedure on the WebLogic Server. If you are still on the Application Server you may have to do some Google searches, but it all boils down to the mod_plsql DAD Configuration file.
    Our PDF was located in a table with the following structure:
    CASE_DOCUMENTS
       (id_document                    NUMBER NOT NULL,
        doc_blob                       BLOB,
        note                           VARCHAR2(240),
        created_by                     VARCHAR2(20) NOT NULL,
        created_dt                     DATE NOT NULL,
        case_id                        NUMBER NOT NULL,
        filename                       VARCHAR2(100) NOT NULL)Based on that table structure we created a procedure named READ_PDF which you will reference below in the dads.conf file below:
    CREATE or REPLACE procedure read_pdf (p_id_document IN number)
    is
      view_file     blob;
    BEGIN
      select doc_blob
        into view_file
        from case_documents
       where id_document = p_id_document;
      OWA_UTIL.MIME_HEADER ('APPLICATION/PDF', FALSE);
      HTP.P ('CONTENT-LENGTH: ' || DBMS_LOB.GETLENGTH (view_file));
      OWA_UTIL.http_header_close;
      WPG_DOCLOAD.download_file (view_file);
    END;
    GRANT EXECUTE ON read_pdf TO financial_user_role  -- Name of role to execute
    /Basically, you are passing in one parameter and that is the primary key for your table. You are selecting the pdf stored in a BLOB for that primary key. The commands below that allow the pdf to open up so you can view it – we got this off some search we did a few years ago.
    Now, you need to add logic to your Oracle Form that will call the procedure above, but the URL is based on the dads.conf file that we will set up below… Anyway, we created a button on the form module with a label of "View". In the WHEN-BUTTON-PRESSED trigger the logic looks like this:
    -- The View logic uses the DAD (Database Access Descriptors) method to view a .pdf file from the form.
    -- The DAD was created on WebLogic Server  with the name findadgen.  This allows an http request be made
    -- to the database.
    declare
      v_file          varchar2(400);
      v_success       boolean;
      ret_val         number;
      v_http_link     varchar2(400);
    begin
      -- The format of the link is as follows: hostname:port/pls/DAD_name/procedure_name
      v_http_link := 'http://finas03:8888/pls/findadgen/read_pdf?p_id_document=' || :case_documents.id_document;
      web.show_document(v_http_link, '_BLANK');
    end;The name of our WebLogic Server is "finas03" so that is what is listed in the URL. The "findadgen" is the name of the <Location> in the dads.conf file below, the "read_pdf" is the name of the procedure we created above, the "p_id_document=" is the IN parameter listed in the READ_PDF procedure created above, and the ":case_documents.id_document" is the reference to the primary key in our Oracle Form.
    For WebLogic, you can either go through Enterprise Manager (directions below) or update the dads.conf file on the filesystem directly (if you update the dads.conf file directly then skip to step 4 and ignore step 5):
    1.     Enterprise Manager -> Web Tier -> ohs1
    2.     Oracle HTTP Server (pull-down) – Administration – Advance Configuration
    3.     Select File – dads.conf
    4.     Add something similar:
    # ============================================================================ 
    #                     mod_plsql DAD Configuration File                         
    # ============================================================================ 
    # 1. Please refer to dads.README for a description of this file                
    # ============================================================================  
    # Note: This file should typically be included in your plsql.conf file with 
    # the "include" directive. 
    # Hint: You can look at some sample DADs in the dads.README file 
    # ============================================================================
    <Location /pls/findadgen>
        SetHandler pls_handler
        Order allow,deny
        Allow from All
        AllowOverride None
        PlsqlDatabaseUsername financial
        PlsqlDatabasePassword sdo_3#d1
        PlsqlDatabaseConnectString ffindbTNSFormat
        PlsqlNLSLanguage AMERICAN_AMERICA.WE8ISO8859P1
        PlsqlAuthenticationMode Basic
        PlsqlDefaultPage read_pdf
    </Location>You are adding the <Location> section to your dads.conf file. The "finddadgen" is the name that you will reference in a change you fill make to your Oracle Form. The "financial" is the Schema, the "sdo_3#d1" is the password for that Schema, the "ffindb" is the database that the stored procedure is located on, and the "read_pdf" is a stored procedure you will have to create in order to read the pdf.
    5.     Press the "Apply" Button
    6.     Obfuscate the DAD password by running the dadTool.pl script located in $ORACLE_HOME/bin (This was done on Unix on our server with the following commands):
    $> LD_LIBRARY_PATH=$ORACLE_HOME/lib;export LD_LIBRARY_PATH
    $> cd $ORACLE_HOME/bin
    $> perl dadTool.pl -f /u01/app/oracle/middleware/asinst_1/config/OHS/ohs1/mod_plsql/dads.conf
    7.     Restart the Oracle HTTP Server using Fusion Middleware Control:
    Enterprise Manager -> Web Tier -> ohs1
    Oracle HTTP Server – Control – Shutdown
    Oracle HTTP Server – Control – Start Up
    If you followed the instructions above, you should have created a stored procedure, added logic to your Oracle form to reference that stored procedure, and created an entry in the dads.conf file. Once you move the form onto the server and you restart the HTTP Service, you should be able to view a pdf that is stored in a table directly from your Oracle Form.

  • Using Oracle Forms Importing Data From SQL Server into Oracle Tables.

    Dear All,
    We are using Oracle Forms 10g in windows XP and having OAS 10g and Oracle database 9i.
    How can we import data from SQL Server 2005 into Oracle tables using Oracle Forms?
    Thanks & Regards
    Eidy

    I have no idea what "Oracle Hetrogenius Services" is, so I can't help you with that, sorry.
    SQL Developer might also assist you. SQL Developer can connect to SQL Server as well as Oracle and has some tools for migration. See the documentation for details:
    http://download.oracle.com/docs/cd/E12151_01/doc.150/e12156/toc.htm
    For additional help on using SQL Developer for this task, please consult Support or the SQL Developer forum: SQL Developer
    Hope this helps,
    Jacob

  • Form created with Livecycle Designer with a SQL database - do you need LiveCycle Forms installed?

    Hello,
    I'm REALLY hoping someone here can help me, I have spent over four hours on the phone to Adobe in the last 3 days and I'm getting no where what-so-ever. I can't even find out where /how to complain about it! (but thats another story)
    Here's my situtation:
    I work for a company with approx 140 staff. On one computer, we have Adobe Livecycle Designer ES installed, and we have used that program to create a form which has a link to a SQL database.
    The link in this form doesn't work on the other computers which has the basic (free) Adobe Reader. From doing research within these forums
     , I have found that the form will not work on other computers unless they have Adobe Livecycle forms installed on their machines. 
    What I need to know (and what they cannot seem to tell me when I call), is two things:
    Is it correct that in order to use a form created in Livecycle Designer which has a link to a SQL database, that the machine must have LiveCycle forms installed?
    How much does Adobe LiveCycle Forms costs?
    PLEASE, if you can answer this question, I would REALLY appriciate it....
    Thank you!

    I presume you are asking if you need Livecycle Forms ES? Forms ES is a component of the livecycle software suite intended as a document service which will be installed on a server within the organisation. A couple of things this document service can do is to render XDP into multiple formats (PDF, html, etc.), execute script server side (for example the database connection) on behalf of the client (reader, etc.), integrate with backend components, etc. So no you do not install this on each client.
    For database connections to work, you either have a server with Forms ES installed which can connect on each clients behalf (ie. Client->Forms ES Server->Database), or you have a reader-extended PDF to allow connections to be use in the free basic Reader (i.e. direct calls to the database or using web service calls to your own database components). However, reader-extended pdf would probably require Reader Extensions ES component installed on a server (you once off extend your developed pdf through this and then hand it out to each of the end users). Not sure if the Acrobat Reader extensions will cover this functionality since I have not tried that. I dont think it does. Otherwise you would need full acrobat on each client.
    How much database integration is your form actually doing at the moment? read only? Full access? And how many clients do you expect to hit your database? Depending on what you need the form to do, there is always the option to try and build the integration yourself. Do simple http submits from the browser (hosting reader as a plugin) to some component somewhere which in turn hits your database. Wouldnt require additional licensing but alot more development work.
    As for cost for the various components, thats a question only Adobe can answer for you since they all sit squarely in the enterprise space and licensing for that is not as simple as off the shelf products.
    Maybe someone else has a view on it or has an alternative.

  • Forms 6i against 11g database server - certification plan ? [ANSWERED]

    Oracle folks, any plan to certify Forms 6i with a patchset against the upcoming version of the database server ? (before 6i ext. support ends end of Jan. 08)
    We ported our Forms 6i apps to 10gR2 already but we want to support the 6i version of the c/s application against 11g database server.
    thanx

    ;) this is what I meant. BTW, this is not just a user forum but it is also monitored by Oracle employees, Forms product managers, etc. So, it is one of the "official" resources if we need an answer from Oracle Corp. This apply to any OTN forum. If you look at Metalink, folks are posting there and on OTN hoping to hear official answers. This is not an issue that you can create an SR. This particular matter was discussed on ODTUG and with OPN, and it was OPN related Oracle Employee's suggestion to post it on OTN forms forum. Thanx anyway.

  • Can Forms Builder access non-Oracle Database?

    Does any one know whether Pracle Forms can access othe non-Oracle database via ODBC or JDBC to MS Access or MySQL?

    12282,
    In general, HTML DB gives you access to Oracle database facilities. These include heterogeneous services. Please search this forum for keyword "heterogeneous" and you can follow the threads that interest you.
    As for the comparison with brain surgery, I'd rank them about the same in terms of raw thrill.
    Scott

  • Oracle Database 11g Administrator or Oracle PL/SQL and Forms Developer?

    Hi,
    I am thinking about doing an Oracle certification course- Oracle Database 11g Administrator or Oracle PL/SQL and Forms Developer.
    Oracle Database 11g OCP and OCM certification requires 3 mandatory training courses to be completed that costs between $1900 and $3250/each. Oracle PL/SQL certication doesn't require any mandatory training course.
    Which one of these would be a good choice? Please advise.
    Thank you,
    Tracy

    Regardless of which path you want to take, in order to get the OCP certification in either the DBA or PL/SQL developer track, you must first obtain the respective OCA certification for that track. I'm assuming that since you are still undecided in which path to take that you haven't started working on either yet. If you look at the pages for the OCA DBA and OCA PL/SQL Developer certs and what is required for each, you'll see that the first block of tests for either certification (the SQL based exams) has the same options (1Z0-007, 1Z0-047, 1Z0-051) and passing one of those SQL based exams gives credit towards obtaining both OCA certifications. That might be a good place to start.
    Doing one of these tests first might give you some extra time to decide which track you want to pursue. But as Justin said, it really depends on what you do (or plan on doing) in your career as to which path might be more beneficial for you.
    As for the OCM level stuff, I wouldn't even think about it until you get the OCP. One step at a time... Same with OCP before OCA. That being said, my suggestions are just that, suggestions. You're free to take any exams/courses in any order, but you won't be able to obtain the certs until you have completed the requirements for each.

  • Is there any difference in oracle database and forms database

    i want to know is there any difference in oracle database and forms 6i database
    ,if i import some file through oracle database then same data will exist in forms database or not
    thanks

    Oracle Forms is a Rapid Application Development (RAD) tool not a database. With Forms, you connect to an Oracle database to query and display data from the database as well as insert new or update existing data. Consequently, if exists in the database - you should be able to display it in a Form.
    Craig...

  • Oracle forms and reports with object views in oracle 9i

    Can We use oracle 9i Object Views in oracle forms and reports. If yes, then which version?

    MichaelFerrante,Thank you for your help.
    I have already used the HS services to connecto to external databases from our main Oracle database, and the solution works fine.
    But unfortunally for this particular client he cannont have installed a Oracle database due to internal policies restrictions.
    I can not migrate the full application to another technology like ADF in less than 6 or 8 months.
    Do you thifnk that there is any other solution?
    Mensagem editada por: user10660669

  • Slow Problems with Oracle Forms 10g and Oracle Database 11g

    Hi, I wonder if there is a compatibility problem between Version 10.1.2.0.2 32 Oracle Forms and Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production. This is because my application runs correctly on a version of Oracle Database 10g, and when we migrated the database to an Oracle Database 11g, slowness problems came out.
    Thanks.

    We have the same issue happening with our custom forms and with some of the standard forms in EBSO. So far we have found that the form invoking a view causes ridiculous slowness in opening the form (40 mins). Using a table access has shortened the open time significantly. At this time Oracle DBAs at OOD have no clear idea why it is happening.
    we are on 11.1 database with 11.5 EBSO
    Edited by: user3223867 on Feb 4, 2011 7:55 AM

  • Access Reports, Forms in Oracle Database

    Hi,
    I want to migrate one application from MS-Access to Oracle(8.1.5) Database.
    I know, migration of database is possible,but I want to keep the existing Access reports and forms as it is.
    Is it possible, Can Access reports and forms run under oracle database.

    Initially you write 12345 and when you modify you are modiyfing only 3 bytes from offset 1 and hence the results. When you modify oracle will not erase the complete lob you need to use erase before you modify (write)
    Following doc give you an insight into pl/sql lob functions
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_lob.htm#sthref4428
    Following is the Pro*C Lobs Guide
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28427/pc_16lob.htm#i998068

  • Problem about using Oracle Form 6i to connect Oracle Database 10g express.

    Sorry to interrupt all of you.
    I have encountered a problem about using Oracle Form 6i to connect Oracle Database 10g express.
    As I would like to
    I use Oracle Net8 Easy Config to create a connection.
    According to "tnsnames.ora", the paramater of connection is as follows;
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA = (SID = XE))
    Unfortunately, when I use Oracle Net8 Easy Config to test the connection, an error message is prompted as follows:
    Connecting....
    The test did not succeed.
    ORA-03106: fatal two-task communication protocol error
    There may be an error in the fields entered
    or the server may not be ready for a connection.
    You can check the server and retry, or continue.
    After I google it, I still have no idea how to solve the problem. I would like to ask, could anyone mind providing some hints or solution to address the issues.
    Thanks for your assistance in advance.

    I don't believe the Net8 Easy Config (NEC) will create a compatible entry in the tnsnames.ora. I have Forms 6i running successfully against a 10g Express database, but I did not use the NEC - I created the entry myself. Here is the entry I use:
    XE=
      (DESCRIPTION=
        (ADDRESS=
          (PROTOCOL=TCP)
          (HOST=<<servername or IP address>>)
          (PORT=1521)
        (CONNECT_DATA=
          (SERVER=dedicated)
          (SERVICE_NAME=XE)
      )Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

Maybe you are looking for