Database connections in JDeveloper 10g

I love the integrated database browsing of JDeveloper, but there is one problem with it. When creating new connections you have to supply the user name and password. For security reasons this is not always recommended. It would be better if JDeveloper could prompt me for the user name and password when I try to open a connection. It used to be like this in earlier versions of JDeveloper I think. At least this should happen if no password is stored with the connection. Where security is not a concern I can store a default user name and password for a connection, but it should always be possible to override it. The user name as well so I don't have to create a connection for each user in each database.

I logged an er (3649694) to track this request. Thanks for the feedback!
-- Brian

Similar Messages

  • How to create a database connection using Jdeveloper 10g

    when i try to create a database connection,its asking for connection name.is that connection name is user-defined or predefined name??In the next step its asking for username and password.where do i get that username and password.if anyone know this please explain me in detail coz this is for the first time am using JDeveloper.
    Thanks in advance.

    Hi user583040,
    May be you could have a look on this: http://my.opera.com/Tiftif/blog/faq-jdeveloper-english §5.2. If you have suggestions to improve this document, i will greatly appreciate to add them to it.
    Regards,
    Tif

  • Can't make a connection from JDeveloper 10g (9.0.5.0) to WebLogic 8.1

    I can't make a connection from JDeveloper 10g (9.0.5.0.0) to WebLogic 8.1
    When I click "Test connection" JDeveloper 10g writes the following:
    Cannot instantiate class: weblogic.jndi.WLInitialContextFactory
    Have somebody ever established a connection from JDeveloper 10g (9.0.5.0) to WebLogic 8.1? How to do this?

    It connects successfully now. Thank you for the information.
    But it does nothing when I try to deploy my J2EE application.
    I right-click on Resources -> application.deploy, choose "Deploy to" -> my connection. It starts to do something obscure.
    Then I go to the WebLogic console and it shows that there is no my application.

  • Database Connections in Jdeveloper

    Hi,
    I was able to make a successful jdbc to odbc database connection using Jdeveloper 10.1.3.0.2. I could see the list of tables in the Oracle database. However, release 10.1.3.0.4 produces the following message: "Invalid Fetch Size". I also tried a straight jdbc connection in the later release, and it returns a certain amount of metadata, but no list of tables. Why does the connection work for the earlier release but not the later release?
    Thank you,
    Roland Wales

    I logged an er (3649694) to track this request. Thanks for the feedback!
    -- Brian

  • How to use JNDI datasource instead of database connection settings JDev 10g

    Hi,
    In order to use the different database from other environments, we are not able to use the JNDI datasource configuration settings, all the time need to configure the database connection settings from JDeveloper by changing the database connectivity settings in the JDeveloper for each environment separately, need a solution on how to make the database connectivity unique using the JNDI datasource name for all the environments for database connectivity settings through the application server console rather than changing the database adapter configuration in JDeveloper.
    Please provide the update at the earliest. Your help is greatly appreciated. Thanks in advance..

    What are you not clear on?
    What you need to do is get your developers to conform to a database naming standard, as stated above, so if you have an oracle database that is for eBusiness Suite you get all developers to create a DB connection in JDev called, ora_esb as an example.
    When the developer creates a DB adapter this will create a JNDI name of eis/DB/ora_ebs. When the BPEL project is deployed it looks for the JNDI name in the oc4j-ra.xml file to see its connection details. If they don't exist then they use the developers connection details. The issue with this is that they generally always point to the development DB. It is best practice for the developers to remove the mcf settings in the DB adapter WSDL. This way if the JNDI name has not been configured it will fail.
    So when you migrate from dev-test-prod what you have is the JNDI name eis/DB/ora_ebs. The dev points to the dev instance of ebs, test points to the test instance and so on. This means that you don't need to adjust any code in the BPEL projects.
    cheers
    James

  • How to update database table in jdeveloper 10g

    I currently have a roles table, usersinroles table, and a users table. The users table has a user ID, the roles table has a Role ID, and the usersinroles table has Role ID and user ID as foreign keys. I can add new users, but how can I implement the ability to add a role to the user and it store the USER ID of that particular user and the ROLE ID of the role I choose in the usersinroles table??
    Thanks,
    Adam

    I'm not sure I understand your question here.
    If you have EOs for each one of the three tables with master-detail associations from the user and role tables to the cross table, then you can create a master/details form showing a user and all his roles and then adding a record to the crosstable will automatically add the userid correctly.

  • Problem creating WebDav connection to review XML schema in JDeveloper 10g

    I am trying to review some XML schema and cannot seem to create a WebDav connection. I entered all the relevant info and keep getting the following error :Testing connection...
    Connection test failed: unable to connect
    Unable to connect to WebDav Connection1 (http://localhost:8080/)
    May require proxy to connect to the location,
    when I tried to test the connection. The tips given in the help section didn't work either. Could someone please help me?

    Thanks for your prompt response.
    I had done that before yet, it still doesn't work.
    Please, bear with this newbie, for a second.
    I think it may be relevant to mention that I am trying to create a connection on my local network.
    Had no problems when I try to connect to enterprise manager,or iSQL*plus console, or creating a database connection through Jdeveloper, or even to the HTTP server through the browser. I am using windowsXP platform BTW, if it makes a difference, and Jdeveloper 10g. When I try to create the webDav Connection it still gives me the connection failed error, .....
    Testing connection...
    Connection test failed: unable to connect
    May require proxy to connect to the location
    Additionally ran this script ....
    DECLARE
    HTTP_PORT pls_integer := 8080;
    FTP_PORT pls_integer := 2100;
    config xmltype;
    BEGIN
    SELECT updateXML(dbms_xdb.cfg_get(),
    '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()',
    HTTP_PORT) INTO config
    FROM DUAL;
    DBMS_XDB.CFG_UPDATE(config);
    SELECT updateXML(dbms_xdb.cfg_get(),
    '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()',
    FTP_PORT) INTO config
    FROM DUAL;
    DBMS_XDB.CFG_UPDATE(config);
    END;
    COMMIT;
    -- Updates configuration
    BEGIN
    DBMS_XDB.CFG_REFRESH;
    COMMIT;
    END;
    -- Creates /home Directory
    DECLARE
    result boolean;
    BEGIN
    result := dbms_xdb.createFolder('/home');
    dbms_xdb.setAcl('/home','/sys/acls/all_all_acl.xml');
    commit;
    END;
    list
    OUTPUT from script....
    PL/SQL procedure successfully completed.
    Commit complete.
    PL/SQL procedure successfully completed.
    DECLARE
    ERROR at line 1:
    ORA-31003: Parent / already contains child entry home
    ORA-06512: at "XDB.DBMS_XDB", line 195
    ORA-06512: at line 4
    Still no luck! What I am i doing wrong?
    Any pointers will be appreciated.

  • JDeveloper 10G (BPEL Designer): how to create db connection to Oracle Lite

    I want to create a JDeveloper database connection to the Oracle Lite database installed with JDeveloper 10G BPEL Designer, but haven't been able to find any info on the subject.
    Can anyone point me to some info or walk me through it?
    Regards

    To connect JDeveloper 10g to an Oracle Lite database, you will need to follow this setup.
    1. Create an ODBC entry for the Oracle Lite database. If you have installed Oracle Lite 10g Mobile Development Kit, you should have a copy of POLITE.ODB pre-installed. Check your ODBC.ini, or run Administrative Tools > Data Sources (ODBC), and follow the polite entry pattern. If you create a new Oracle Lite database, you must create a matching enrty in the ODBC configuration file.
    2. In JDeveloper, create a new connection for your Oracle Lite database.
    The Connection Name should match your entry in ODBC for ease of reading.
    The Connection Type should be Oracle Lite.
    The Username is system.
    The Password is xxx.
    The Deploy Password box is checked.
    The Datasource Name must match the ODBC entry exactly.
    Leave the rest of the fields as is.
    Test your new connection.
    Enjoy.

  • Connection Navigator in jdeveloper 10g release3

    I want create a connection with Jdeveloper 10g Release 3 but I can't find Connection navigator.
    before I used to Jdeveloper in Developer Suite 10g Release 3 I Could find.

    User,
    If you don't see it on the left side, simply choose it from the "View" menu.
    John

  • Create database connection for oracle ver.8.1.7.4 unsucessful

    I trying create a database connection with jdeveloper 11g to db oracle ver.8.1.7.4, but the connection return error "Test failed: Unsupported Oracle database version". I selected connection type: "Oracle (JDBC)" and initially selected driver: "thin", after exchange to driver: "oci8", but return error: "Test failed: no ocijdbc11 in java.library.path". Created on menu > Tools > Preferences > JDBC driver options a new driver: "some.jdbc.Driver" pointing to Driver class: "some.jdbc.Driver", library: "oracle.jdbc.OracleDriver", class path: "c:\...\oracle\jdbc\lib\ojdbc14.jar".
    Tried to create with this driver with the option "Generic JDBC" pointing to this driver created and using jdbc url: "jdbc:oracle:thin:@//255.255.255.255:1521/ServerId", but return error: "Test failed: Driver class not found. Verify the Driver location"
    Now, i don´t know to do!!!

    John,
    i have the data corporate in this DB in this version. I have already tested with the oracle JDBC driver: "ojdbc14.jar" and works in the "Eclipse" IDE, but i want to use with jdev, understand? Can i test only with this jdbc driver if i set "generic JDBC"?, because if i set "oracle JDBC" this driver is pointing to oracle 11g driver. Is there a "step-by-step" to set this correct procedure? I cannot set "oracle JDBC" of list because the driver class is disabled.

  • Problem in Setting up database connection

    Hi,
    When i try to create a new database connection on jdeveloper 9.0.3 and click on test connections i get this error:ORA-28030: Server encountered problems accessing LDAP directory service. Can anyone help me out of this problem.
    Infact i copied a dbc file from the server and pasted it in the local directory dbc_files/secure/.

    Hi,
    seems that your database is configured to perform Enterprise User Security (EUS) for which it needs to access LDAP. Check with your DB administrator if this is the case
    Frank

  • BPEL Designer 10.1.2.0.2 Database Connection Error

    Hi,
    I'm trying to create a database connection in JDeveloper 10.1.2.1.0 Build 1915 (BPEL Designer version) but I get ORA-12505, TNS:listener does not currently know of SID ... error for a particular database. I can connect to the same database using JDeveloper 10.1.3 with no errors, also in SQL Plus, and I can connect to another database on the same server with no problem. I need to create a BPEL 10.1.2 process that connects to this database and so far I'm unable to do so.
    Here's the full error details and the tnsnames.ora entry for this database.
    Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    xxxx:1521:oms.x1
    Here's the tnsnames.ora entry:
    oms.x1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxx)(PORT = 1521)))
    (CONNECT_DATA =(SERVICE_NAME = oms.x1))
    Here's the tnsnames.ora entry for the other database on the same server, that I can create a database connection to. The only difference as far as I can tell is with the service names, the unsuccessful connection has a "." in the service name, the successful connection does not.
    XOAS2 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxx)(PORT = 1521)))
    (CONNECT_DATA =(SERVICE_NAME = XOAS2))
    When I try to create a connection to the same database referencing a second tnsnames entry with .world extension, this also fails with the same error. Here's the tnsnames.ora entry and error message from JDeveloper for that connection.
    XOAS2.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxx)(PORT = 1521)))
    (CONNECT_DATA =(SERVICE_NAME = XOAS2.world))
    Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    xxxx:1521:XOAS2.world
    Any help you can provide in resolving this will be appreciated.
    Thanks
    Candace

    Steve,
    I tried the custom JDBC connection and still get the same error. I have been able to successfully connect to this database using a jdbc-odbc bridge connection after creating a local ODBC datasource, just to see if I can connect at all, but I don't want to have to use this connection method.
    I have also tried adding a tnsnames entry with omsx1, and I get the same error for creating a jdbc connection. However, this tnsnames entry is the one I had to use for the ODBC connection in order to successfully create the jdbc-odbc bridge connection.
    As far as both databases listening on the same port, this doesn't seem to be an issue when I configure this connection in JDeveloper 10.1.3. This issue seems to be related to using JDeveloper 10.1.2, which I need to use in order to create 10.1.2 BPEL projects.
    I was wondering whether it's possible to use the jdbc driver that JDeveloper 10.1.3 uses in JDeveloper 10.1.2? I can post this to the JDeveloper forum if that's more appropriate.
    Thanks for the pointers
    Candace

  • Production and Development Database Connections

    Within JDeveloper I have created a database connection to a DEVELOPMENT database and am exposing PL/SQL packages in the development database as web services.
    I can develop and test successfully the exposed packages as web services, and can deploy and run them to a standalone OC4J container on my local machine.
    I then handover the generated EAR file to the production team who deploy the EAR as a web service to the Oc4j container in a remote 9i Application Server.
    This runs successfully from 9iAS.
    So far so good.
    If I have the same PL/SQL package in a live database and development database, but only have access to the development database, how can I expose the package in the live database?
    Can I have a database connection in JDeveloper with a connection name pointing to the development database connection, and have a connection defined in 9iAS with the same name pointing to the live database?
    Any information will be useful.
    Thanks,
    Claire.

    Per the J2EE "roles" definition this is a deployment role todo.
    I.E. the theory is; take a 3rd party ear, depoyee with your appserver vendor's
    deployment tool, edit the data-sources.xml imbeded in the ear on the fly, as
    deployment happens.
    Bake to reality-
    OC4J 903 is intended to be used with OEM for the J2EE spec'ed role of deployer. I'm
    headed this way, but not started the 903/OEM todo.
    Today, OC4J 902 and 902 Jdev, I deploy to a local instance of OC4J. I take that
    ear to production. I've written procedural instructions on poping open the ear and
    editing the data-sources.xml for the DB connection URL and possible login/passwords.
    BTW all your AppModule configurations will have to use data-sources DB connections else
    you'll have DB connection info littered in your bc4j.xcfg's for each AM deeper in your war's.
    I'd like to hear how this is supposed to work from some other folks? :)
    Good luck,
    curt

  • Urgent..how to connect jmatlink & jdeveloper 10

    hi:
    i am trying to connect jmatlink & jdeveloper 10g
    my codes are below:
    import jmatlink.*;
    public class test {
    public static void main(String[] args) {
    // create instance of engine
    JMatLink engine = new JMatLink();
    // open engine and start MATLAB
    engine.engOpen();
    // test string: create array of random numbers
    String testCommand = "a=rand(4)";
    engine.engEvalString(testCommand);
    // terminate MATLAB and close engine
    engine.engClose();
    I got the error message:
    Project: C:\jdev10\jdev\mywork\Application1\Project1\Project1.jpr
    C:\jdev10\jdev\mywork\Application1\Project1\src\test\test.java
    Error: class format error: JMatLink.class on classpath C:\jdev10\jdev\mywork\Application1\Project1\classes\JMatLink.class
    Error(2,8): jmatlink not found
    I also put jmatlink.class in C:\jdev10\jdev\mywork\Application1\Project1\classes\JMatLink.class.
    I have no idea what is wrong!
    Any help will be appreciated!!

    Try posting your question to a Java forum, because this one is about native development. For example, you can use http://forum.java.sun.com/forum.jspa?forumID=31

  • Create database connection

    I try to create database connection in jdeveloper.
    I have error message;
    Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    10.41.119.12:1620:TEST
    I did connect with database before. but I try to create connection with database today.
    I cannot. what problem is it?
    what am i goint to do?

    Hi,
    Maybe your connecting directly after the listener starts, wait a while then try to connect again, if this problem still occurs, check the SID of your Connection settings, it maybe incorrect.
    Regards,
    Ahmad Esbita

Maybe you are looking for

  • FM/BAPI for creation of Material Document (similar to Transaction MB1C)

    Hi Gurus, Good day. Are you guys aware of FMs / BAPIs that can produce Material Documents (similar to the Function of Transaction MB1C)? Thank you very much! Best regards. Brando

  • Youtube on Blackberry 8110

    Hello! Huge problem! On monday i bought my first blackberry 8110 (v4.5.0.44)! Works perfectly, only videos on m.youtube.com make problems. When i want to watch a video, media player starts but the screen is just black, no video :-( Any solution?????

  • Exporting back to Illustrator CC

    Hi, how is it possible to export an illustration from Flash Professional CC back to Illustrator CC, in vector format? I started the work in Illustrator and finalized the composition in Flash. And now I need to bring the same composition back to Illus

  • Error when attempting to download pl/sql script in Editor

    Greetings, I'm getting the following error: ORA-06502: PL/SQL: numeric or value error: character string buffer too small when clicking the download button located within the script editor. and ... while i've got your attention, why dont the cut and p

  • Project Organisations

    I am setting up project organisation hierarchies in release 11. Basicaly i have expenditure organisations which correspond with sets of books (operating unit = legal entity = SOB.)It is multi-national so I need one SOB per country. In terms of projec