Javabean connection in Forms 10G

I am devolopping in Forms 10G and I want to connect to an informix database and execute on some queries.
A syou now ther is no odbc connection in Oraclae > 9i to others databases.
If someone has already Write a JDBC connection from Forms 10g to Informix, or a JavaBean to Implement this connection, Can You please Hep me.
It's Urgent
best regards

Oracle Generic Connectivity and Transparent Gateways
Oracle offers two asychronous solutions for information integration: Oracle Generic Connectivity and Oracle Transparent Gateways. Generic connectivity addresses the needs of data access to many data stores for which Oracle does not have a gateway solution. This feature enables transparent connectivity using ODBC. Oracle Transparent Gateways provide the flexibility, power, and scalability to transparently access many non-Oracle data stores, including DB2, Informix, Microsoft SQL Server, Ingres and Sybase, from an Oracle environment.
There is all you want to connect, via an Oracle database, to your informix database.
Francois

Similar Messages

  • How to connect oracle forms 10g with oracle 10g express database?

    Hi all,
    I have downloaded and installed oracle forms 10g and oracle database 10g express, when I open net configuration assistant to test local net service, I tested the default service (EXTPROC_CONNECTION_DATA) BUT THE RESULT IS "ora-28547 connection to server failed probable oracle net admin error"
    How can I solve this issue?
    My tnsname.ora is located in c:\DevSuiteHome\network\admin\tnsnames.ora, and its contents is:
    # tnsnames.ora Network Configuration File: c:\DevSuiteHome\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = nour-pc)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PLSExtProc)
    Edited by: user10228498 on Jan 21, 2011 11:37 PM

    I copied the contents of C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN\tnsnames.ora and appended it to C:\DevSuiteHome\NETWORK\ADMIN\tnsnames.ora
    and tried net configuration management to test local net service, the test was ok, thus the first problem resolved.
    but the login problem in forms developer still exist and it claims that: ora-12154 tns could not resolve the connect identifier specified.
    any ideas?

  • Connectivity Problems Forms 10g Builder with 11g Database Release 1

    Hello All,
    I am trying to connect 11g Database (Version 11.1.0.7.0 mounted on Linux) from my Oracle Forms 10g Builder 10.1.2.0.2 in my client PC Windodws XP. But its just hanging and doesnt connects at all.
    Strange is that from the same Oracle home i am able to connect to same 11g user through the reports builder 10g and
    , sqlplusw and sqlplus from 10g home.
    But i am not able to connect to 11g R1 database from my Forms Builder alone. Why is this? Can the PROs get me out of this problem please.
    Thanks in advance.

    Hi
    For your issue i suggest close your thread here as changing thread status to answered and move it to Forum Home » Development Tools which you can get more quick response
    Regard
    Helios

  • DB-link is not connected from Forms 10g

    Hi,
    I have created the db-link(visdev) from mytest schema to APPS schema -- created successfully
    ->Login to mytest schema and ran the query: select * from all_objects@dblink -- Return values.
    -> I have used the same dblink with below code from Forms 10g (Datablock - Pre-insert trigger)
    cursor_handle := dbms_sql.open_cursor;
    dbms_sql.parse(cursor_handle, 'select decode(object_type,''TABLE'',''T'',''VIEW'',''V'',null) col1 from all_objects'||'@'||db-link, 1);
    dbms_sql.define_column(cursor_handle,1,col1,30);
    execute_feedback := dbms_sql.execute (cursor_handle);
    execute_feedback := dbms_sql.fetch_rows(cursor_handle);
    dbms_sql.column_value(cursor_handle,1,col1);
    Its throws error in Pre-insert trigger : select decode(object_type,'TABLE','T','VIEW','V',null) col1 from all_objects@db-link ---- Not return values -- error out
    I found this error using log message.
    Can you please help us... its very critical for us.
    Edited by: user775668 on Jun 17, 2011 5:46 AM
    Edited by: user775668 on Jun 17, 2011 5:46 AM

    In terms of trying to debug this why don't you login to your schema and create a view:
    create view testview as select * from all_objects@dblink
    and deal with that instead?
    (You would need to grant permissions to that view.)
    I mean as a way to keep the complex dbms_sql out of the loop and look
    more to permissions and schema issues. In the long term the view hard codes the structure and is
    not a good solution if the structure changes. I just mean as a test.
    BTW you know there is an all_objects already? Didn't know if you meant that literally or not.
    You could not use that name.

  • Connecting Oracle forms 10g to SQL 2000?

    Hi,
    Can someone please help me connect oracle forms to sql 2000. I have searched online with no luck; however, I know oracle can use ODBC.
    thanks,

    See
    http://www.oracle.com/technology/products/forms/pdf/275201.pdf

  • JavaBean with Oracle Forms

    How can I JavaBean with Oracle Forms 10g. I attempting to use graphics (Aircraft Image created using SVG) interactively with Oracle forms. Any sample code to lead me in the right direction would be helpful.

    How can I JavaBean with Oracle Forms 10g. I attempting to use graphics (Aircraft Image created using SVG) interactively with Oracle forms. Any sample code to lead me in the right direction would be helpful.

  • How to connect to SQL Server from Forms 10g?

    Hello all,
    How do we connect to SQL Server database from Forms 10g?
    In Oracle Metalink site they have suggested using Transparent Gateway for SQL Server as a solution.
    But is there a way we can connect directly to SQL Server from Forms using an ODBC connection
    without installing anything on the database server?
    Pls help!
    Regards,
    Sam

    Hello all,
    I was able to connect to SQL Server from Oracle using Generic Connectivity (HSODBC).
    Transparent gateway was not required.
    Followed metalink note 109730.1
    So, after I created a dblink to SQL Server, I created a synonym for the dblinked SQL Server table.
    When I used the synonym as the table source in Oracle Forms, I got the following error while querying.
    "ORA-02070 - ROWID is not supported in this context."
    This is because Forms has an invisible ROWID field and when data is fetched from SQL Server table
    no Rowid is fetched since SQL Server table doesn't have one.
    Is there a way to overcome this issue or do we have populate the block manually using a SQL query ?
    Pls suggest.
    Regards,
    Sam

  • Oracle Forms 10g & Oracle 10g DB Connection Problem

    Toady i have installed oracle forms 10g and oracle 10g db when i run my form it gives me this error how can i resolve it
    "ora-12154 tns could not resolve the connect identifier specified"
    Here are the values in forms 10g tns
    # tnsnames.ora Network Configuration File: C:\DevSuiteHome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PLSExtProc)
              IMS =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = IMS)
    and here the values of forms 10g SQLnet
    # sqlnet.ora Network Configuration File: C:\DevSuiteHome_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, EZCONNECT, ONAMES, HOSTNAME)
    (description =
    # (address=(protocol=tcp)(host=localhost)(port=1383))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (connect_data=(rpc=on))
    What changes should i make to overcome this problem.

    "ora-12154 tns could not resolve the connect identifier specified"The problem is local to the Forms Home, probably in tnsnames.ora (seems that there are tabs in IMS entry name). Carefully check it.$ oerr ora 12154
    12154, 00000, "TNS:could not resolve the connect identifier specified"
    // *Cause:  A connection to a database or other service was requested using
    // a connect identifier, and the connect identifier specified could not
    // be resolved into a connect descriptor using one of the naming methods
    // configured. For example, if the type of connect identifier used was a
    // net service name then the net service name could not be found in a
    // naming method repository, or the repository could not be
    // located or reached.
    // *Action:
    //   - If you are using local naming (TNSNAMES.ORA file):
    //      - Make sure that "TNSNAMES" is listed as one of the values of the
    //        NAMES.DIRECTORY_PATH parameter in the Oracle Net profile
    //        (SQLNET.ORA)
    //      - Verify that a TNSNAMES.ORA file exists and is in the proper
    //        directory and is accessible.
    //      - Check that the net service name used as the connect identifier
    //        exists in the TNSNAMES.ORA file.
    //      - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA
    //        file.  Look for unmatched parentheses or stray characters. Errors
    //        in a TNSNAMES.ORA file may make it unusable.
    //   - If you are using directory naming:
    //      - Verify that "LDAP" is listed as one of the values of the
    //        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
    //        (SQLNET.ORA).
    //      - Verify that the LDAP directory server is up and that it is
    //        accessible.
    //      - Verify that the net service name or database name used as the
    //        connect identifier is configured in the directory.
    //      - Verify that the default context being used is correct by
    //        specifying a fully qualified net service name or a full LDAP DN
    //        as the connect identifier
    //   - If you are using easy connect naming:
    //      - Verify that "EZCONNECT" is listed as one of the values of the
    //        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
    //        (SQLNET.ORA).
    //      - Make sure the host, port and service name specified
    //        are correct.
    //      - Try enclosing the connect identifier in quote marks.
    //   See the Oracle Net Services Administrators Guide or the Oracle
    //   operating system specific guide for more information on naming.
    $

  • Forms 5 to connect to oracle 10g

    we're currently migrating from forms5/oracle8 to forms9i/oracle10g.
    all the migrated forms/reports will undergo testing before being moved to production so we're focusing on the important ones first.
    will there be any problems if we continue to use some of the version 5 forms and reports to connect to oracle10g? they are mostly data-entry forms with little backend processing involved.
    thanks!

    I am aware that the combination is not supported, just wondering if it will work in case we haven't moved to production the recompiled version and there is a need for the users to access it.
    Regarding on why we're not moving to Form 10g, moving to 9i was apparently the recommendation made by Oracle (I was not part during their consultation). It was kind of disappointing really seeing as we can get the Developer Suite 10g at no extra cost since our license comes from our parent company.

  • Connect by prior working in sql but not in forms 10g hierarchical tree

    Hello Friends,
    I have the following connect by prior example which is working in sql command prompt but not in Forms 10g hierarchical tree item type. Can you please let me know why ?
    configuration: Forms 10g patchset 10.1.2.0.2 and oracle 11g database on windows 7
    SQL> SELECT 1 InitialState,
    2 level Depth,
    3 labeller NodeLabel,
    4 NULL NodeIcon,
    5 to_char(reportno) NodeValue
    6 FROM reports where formname = 'billinin.fmx' or reportno > 9999
    7 start with reportno > 9999
    8 CONNECT BY PRIOR reportno = labelno
    9 /
    INITIALSTATE DEPTH NODELABEL N NODEVALUE
    1 1 FIRST 10000
    1 2 report1 UD Label 1
    1 2 report2 UD Label 2
    1 2 report3 UD Label 3
    1 1 SECOND 10001
    1 1 THIRD 10002
    If I write this command in forms hierarchical tree, then it is working, why not the above code ?
    SQL> SELECT 1 InitialState,
    2 level Depth,
    3 labeller NodeLabel,
    4 NULL NodeIcon,
    5 to_char(reportno) NodeValue
    6 FROM reports
    7 start with reportno > 9999
    8 CONNECT BY PRIOR reportno = labelno

    Thanks Room,
    This command worked ! I will put the sample working code here. It will help you to filter the records in a tree in sql command prompt as well as in forms hierarchical tree 10g.
    SELECT 1 InitialState,
    level Depth,
    labeller NodeLabel,
    NULL NodeIcon,
    to_char(reportno) NodeValue
    FROM reports
    start with reportno > 9999
    CONNECT BY PRIOR reportno = labelno
    AND FORMNAME = :reports.testitem

  • Cannot connect to database using Oracle Forms 10g

    hi,
    I had installed Oracle 10g database and Oracle Forms 10g on Windows Vista Home Basic. However, I was unable to connect to
    the database in Oracle Form using scott/scott for database "orcl", with the following error message:
    ORA-00604: error occured at recursive SQL level 1
    ORA-01009: missing mandatory parameter
    However, I could access to the database using this set of username and password. Am I missing something? Thanks.

    Hi,
         After a successful installation of forms 10g in vista, I'm about to run OPatch Universal Installer for the patch 7047034
    in order to fix the form bugs. However, I cannot run the command "opatch apply C:\oracle_form\Patch26_Rel_10105\7047034"
    with the error "The Oracle Home c:\devsuitehome_1 is not registered with the Central Inventory.". Then I try to create a
    oraInst.loc file, but not much change still. The situation is that oracle 10g is installed before oracle developer suite
    10g, and when I try to set oracle_home to oracle 10g's path ("C:\oracle\product\10.2.0\db_1") and run "opatch lsinventory",
    it returns the correct result; when oracle developer suite 10g's path ("c:\devsuitehome_1") is set as the oracle_home,
    the same command would return a different result as "LsInventory: OPatch Exception while accessing O2O".
         I've verified through Oracle Universal Installer that the Central Inventory has included both as oracle_home (oracle 10g
    and oracle developer suite 10g). I'm very confused now, though it seems that the problem could be solved by registering the
    Central Inventory with oraacle developer suite 10g's path. Thanks.

  • 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.

  • Forms 10g Builder with 11g Database Release 1 - Connectivity Problems

    Hello All,
    I am trying to connect 11g Database (Version 11.1.0.7.0 mounted on Linux) from my Oracle Forms 10g Builder 10.1.2.0.2 in my client PC Windodws XP. But its just hanging and doesnt connects at all.
    Strange is that from the same Oracle home i am able to connect to same 11g user through the reports builder 10g and
    , sqlplusw and sqlplus from 10g home.
    But i am not able to connect to 11g R1 database from my Forms Builder alone. Why is this? Can the PROs get me out of this problem please.
    Thanks in advance.

    First, using 10.1.2.0 against 11.x is not recommended. You should at least be using 10.1.2.3 if you plan to work with 11.x. Further, there is a known issue which causes connection, compilation, and some sql execution to run significantly slowly. This issue has been corrected with a patch and new switch. If you have an active Support contact, I would recommend creating a Service Request in order to get the latest information.

  • Forms 6i or forms 10g connectivity with oracle 10g Lite

    Hi,
    We have install oracle 10g lite db on our PC (Windows XP professional), but we are unable to connect to forms 6i and report 6i.
    Can you please tell us how can we connect oracle 10g lite db to forms & reports 6i?
    Thanks
    Omprakash

    Welcome to the OTN Forums. Before posting anything else, please read the following:
    http://blogs.oracle.com/shay/2007/03/02/

  • Forms 6 not connecting with Database 10g

    I can not connect Oracle forms 6 with database 10g

    795192 wrote:
    I can connect to sql plus but i cannot connect my forms 6 with database 10g. getting the following error:
    ORA-12154: TNS: could not resolve service name=================================
    ORA-12154: TNS:could not resolve the connect identifier specified
    This error means one thing, and one thing only. The client could not find the specified entry in the tnsnames.ora file being used.
    As a follow-on to that statement, remember that when you use a dblink, the database in which the link is defined is acting as a client to the database that is the target of the link. So in this case, the tnsnames.ora file on the host of your source should have an entry for your target db, as defined in the db_link.
    And for the umpteenth time ... this error has <b><i><u>NOTHING</u></i></b> to do with the status of a listener. The connection request never got far enough to reach a listener. If anyone tells you to check a listener in response to ora-12154, they are not paying attention, or do not understand how TNS works. This error is the equivalent of not being able to place a telephone call because you don't know the number of the party you want to reach. You wouldn't debug that situation by going to the other guy's house and testing his telephone, or by going to the phone company and testing the switchboard. And you don't debug a ORA-12154 by checking the listener. If I had a top ten list of "Incredibly Simple Concepts (tm)" that should be burned into the brain of everyone who claims to be an Oracle DBA, it would include "ORA-12154 Has Nothing To Do With The Listener".
    =================================
    A couple of important points.
    First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
    Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
    Assume you have the following in your tnsnames.ora:
    larry =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = curley)
      )Now, when you issue a connect, say like this:
    $> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Next, tns sends a request to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
    Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
    Next, the request arrives at port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, you'll be connected.
    What can go wrong?
    First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
    Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
    Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
    Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
    =====================================

Maybe you are looking for