How to connect OBIEE to database in HP-UNIX Machine

Thanks in advance
Regards
Frnds

Yes i know that but i only wanted to know how i will connect MS Access database with Java desktop Application in NetBeans

Similar Messages

  • How to connect to  Oracle database from webdynprojava application

    Hi
    How to connect to  Oracle database from webdynprojava application. where can we provide the code to connect to database.?
    Thank You.

    Hi,
    You need to create  Java Bean model. The bean is a typical java bean with default constructor, getter and setter. You can have additional methods for query etc. The attributes in the class will be your model node and attributes.
    However you need to configure the connection and create JNDI using visual administrator before writing the code.
    You can also consider writing Session EJB with oracle and using them in WD.
    http://help.sap.com/saphelp_nwce10/helpdata/en/45/dcaa4f05535591e10000000a1553f7/frameset.htm
    Srini

  • How to connect to oracle10g Database using oracle11g Enterprise Manager.

    Hi,
    please suggest me how to connect to oracle10g Database using oracle11g Enterprise Manager.
    i did setting in tnsnames.ora file of oracle11g database but when i am trying to connect sys@testvsr and password
    using oracle11g Enterprise manager its not connecting but from command prompt its connecting.
    its not acccepting hostname its simply telling invalid username and password ,if i remove and try to connect its connecting.
    so please suggest its very urgent my manager is nagging.
    Regards,
    Srinu.

    you cant attach a database 10g instance with
    Enterprise manager of 11g as enterprise manager is
    meant for a single database only .. your problem cant be solved
    enterprise manager it can be solved by using GRID CONTROL
    For more details visit oracle documentation..
    Hope This helps..
    BI TC

  • How do connect to Historical Databases?

    Hi,
      please explain me what is Historical databases?
    Can u tell me how to connect to Historical databases? can we download these Database servers from net?
    - senthil

    Hi Senthil,
    You can try for RTXHDB (RTX Historical Database).
    RTX provide secured relational databases for LAN and WAN network.
    Often the use of relational database, or transaction-oriented technology, for off process historical LAN/WAN database applications, and doing unconventional operations on data.
    As an example,  It is in this area of off process historical data warehousing and retrieval that the RTXHDB (RTX Historical Database) system excels. RTXHDB processes and stores a massive flow of data for LAN/WAN database applications, which then can be retrieved with a great deal of speed and quickly turned into useful information for the PC user.
    You can check following links for more information.
    www.expertune.com/articles/isa2004perfmonhda.pdf
    http://www.rtx.com/hdbcncpt.htm
    Best Regards
    Ramshanker

  • Unable to connect to Oracle database running on Windows machine from linux.

    Hi,
    I'm not able to connect to oracle database running on Windows machine from Linux machine. I'm geting the below mentioned error. I have given below the code I used to connect to database and database propertes.Do I need to use any specific driver?
    Please help me.
    Thanks,
    Sunjyoti
    Code :
    import oracle.jdbc.pool.OracleDataSource;
    import java.sql.Connection;
    import java.util.*;
    import java.sql.*;
    import java.io.*;
    class try2{
    public static void main(String args[]) {
    try {
              System.out.println("hi");
    // Load the properties file to get the connection information
    Properties prop = new Properties();
    prop.load(new FileInputStream("/home/sreejith/EDIReader/Connection.properties"));
    // Create a OracleDataSource instance
    OracleDataSource ods = new OracleDataSource();
    System.out.println("prop is "+prop);
    configureDataSource(ods, prop);
    Connection conn=null;
    // Create a connection object
    conn = ods.getConnection();
         System.out.println("Connection is"+conn);
    // Sets the auto-commit property for the connection to be false.
    conn.setAutoCommit(false);
    } catch (SQLException sqlEx){ // Handle SQL Errors
    System.out.println("In exception "+sqlEx);
    } catch(Exception excep) { // Handle other errors
    System.out.println(" Exception "+ excep.toString());
    private static void configureDataSource(OracleDataSource ods, Properties prop) {
    // Database Host Name
    ods.setServerName(prop.getProperty("HostName"));
    // Set the database SID
    ods.setDatabaseName(prop.getProperty("SID"));
    // Set database port
    ods.setPortNumber( new Integer( prop.getProperty("Port") ).intValue());
    // Set the driver type
    ods.setDriverType ("thin");
    // Sets the user name
    ods.setUser(prop.getProperty("UserName"));
    // Sets the password
    ods.setPassword(prop.getProperty("Password"));
    Connection properties :
    # Your Database Connection details
    HostName = 10.20.3.19
    SID = EDIREAD
    Port = 1521
    UserName = dbuser
    Password = dbuser
    Error I'm getting is
    error while trying to connect with odbc datasource
    [root@iflexpau2217 EDIReader]# java try2
    hi
    prop is {HostName=10.20.3.19, Password=dbuser, UserName=dbuser, SID=EDIREAD, Port=1521}
    In exception java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Also I tried to connect with weblogic JDBC driver
    Code is here:
    import java.io.BufferedReader;
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.sql.Blob;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    //import com.entrust.toolkit.util.ByteArray;
    public class trial{
         public static void main(String args[]) throws IOException{
              System.out.println("hi");
              Connection p_conn = null;
              PreparedStatement xml_insert = null;
              try {
         // Load the JDBC driver
                   System.out.println("hi2");
         // String driverName = "oracle.jdbc.driver.OracleDriver";
    String driverName = "weblogic.jdbc.oracle.OracleDriver";
         System.out.println("hi2");
         Class.forName(driverName);
         // Create a connection to the database
         String serverName = "10.20.3.19";
         String portNumber = "1521";
         String sid = "EDIREAD";
         //String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
    String url = "jdbc:bea:oracle://10.20.3.19:1521";
         String username = "dbuser";
         String password = "dbuser";
    System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
         p_conn = DriverManager.getConnection(url, username, password);
         System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
              xml_insert=p_conn.prepareStatement("insert into PRTB_SUBUNIT (SUBUNT_ID,SUBUNT_SUB_UNIT,SUBUNT_PHYUNT_ID) values (?,?,?)");
              //InputStream in=null;
              File l_file=new File("/home/sreejith/EDIReader/propertyfiles/inputfile/BUG_10802_ES_CSB19_68.txt");
              BufferedReader input =null;
              input=new BufferedReader(new FileReader(l_file));
              String line = null;
              StringBuffer trial=new StringBuffer();
              while (( line = input.readLine()) != null){
                   trial.append(line);
                   trial.append(System.getProperty("line.separator"));
              //InputStream is = new BufferedInputStream(new FileInputStream(l_file));
              System.out.println(trial.toString());
              //Blob b ;
              //byte[] bytes=trial.toString().getBytes();
              //System.out.println("Size-->"+bytes.length);
              xml_insert.setString(1,new String("SpecailChar"));
              //xml_insert.setBinaryStream(2,new ByteArrayInputStream(bytes),15920);
              xml_insert.setString(3,"SpecailChar");
              xml_insert.executeUpdate();
              p_conn.commit();
              } catch (ClassNotFoundException e) {
                   System.out.println("ClassNotFoundException:"+e.getMessage());
              // Could not find the database driver
              } catch (SQLException e) {
                   System.out.println("SQEXCEPTIN:"+e.getMessage());
              // Could not connect to the database
              }catch (FileNotFoundException e) {
                   System.out.println("filenot found:"+e.getMessage());
              // Could not connect to the database
    Error I'm getting is
    error while trying with jdbc:
    SQEXCEPTIN:[BEA][Oracle JDBC Driver]Error establishing socket to host and port: 10.20.3.19:1521. Reason: Connection refused

    Is the Windows firewall active? Have you enabled the port on the firewall, if it is?

  • How to connect my access database using applet?

    hi all,
    i need to connect my access database in my applet program which should work like an atm machine..I dont know how to connect it. Im new to applet same thing in JDBC application. Please help i terribly need it, our deadline in our case study is fast approaching and i still dont know how to do it. I tried the tutorial but i received some sql exception error. thanks!

    Try this link
    http://java.sun.com/docs/books/tutorial/jdbc/basics/

  • How to connect to a database thro JavaScript

    How do I connect to a database(Say Microsoft Access), through Javascript.
    -Thanx in Advance
    Harini

    JavaScript is something entirely different than Java.
    If you really want to program with JavaScript, you are in the wrong place here. The forums here are about Java, not JavaScript. So, find some other forum on the Internet which is about JavaScript.
    If you are programming in Java, you'll need to learn how to use the JDBC API to connect to a database. See the tutorial.

  • How to connect to oracle database from visual basic 2010 express edition

    I have installed visual basic 2010 express edition on windows xp. But visual basic 2010 express edition supports Microsoft sql server database file,Microsoft sql server compact 3.5, Microsoft access database file. I want to connect to oracle database from visual basic 2010 express edition. So what drivers are required and how to do connectivity?

    Hello,
    I wasn't clear on what you were using to make the connection. I had a look in Visual Studio 2010 (don't have express to test sorry).
    I think you mean the Data Sources available under the menu Data-> Datasources. this seems to match the description you give when I
    look at the list of datasource options.
    In here you can make ODBC connections via the Microsoft .net Data Provider .
    If you select ODBC as a datasource you can see listed the DSN's you created - for example I see 2 which use the Oracle ODBC driver.
    This assumes you installed an Oracle Client + the oracle version of the ODBC driver (comes with the oracle client).
    Once you created a server connection then you should see it in the server explorer.
    You can also download the Oracle Developer Tools for Visual Studio which is an add on for VS.
    ** I suspect this is only for VS 2010 and I didn't see that Express was supported.
    http://www.oracle.com/technetwork/developer-tools/visual-studio/overview/index-097110.html
    Let me know if that helps.
    John

  • How to connect to oracle9i database from Unix

    Hi All,
    How can i connect to remote oracle9i database(windows based) from Unix. I have following server information Server IP, Username , Userpassword , DataBase name.Do i need any other information to connect to server?
    How can i connect database from Putty?
    Do i need to install SQL on the Unix to connect to oracle server?
    and which C/C++ API i have to use to access tables from the remote oracle server?
    please help me i am new to oracle .
    Thanks in advance.

    Oracle generally uses a special set of software, commonly called the SQLNet or Oracle Networking, as a layer to provide a connection between the client and the database server.
    In general terms,
    - the client software (perhaps sqlplus, an application, ODBC) calls Oracle Networking on the client computer and says "please connect to database known as 'x'";
    - Oracle Networking translates the request, often by looking up 'x' in the TNSNAMES.ORA file at the client side, to get the host name, the port the Oracle listener is waiting on, and the name of the database service to access;
    - Oracle Networking contacts the computer on the required port. If the listener is there, the Oracle Networking client asks for a connection to the database service;
    - The Listener (if it recognizes it) asks the database service for a 'server process';
    - The database starts up a server process which grabs a network port and tells the listener which port was obtained;
    - The listener tells Oracle Networking on the client which port to use;
    - The client disconnects from the Listener, and reconnects at that port;
    - The server process starts authentication and session initialization, after which we are good to go.
    In answer to your questions:
    1) How can i connect database from Putty?
    That implies you want to telnet to the Windows box and run the client stuff locally on the Windows box. So that means you need to look at telnet or ssh documentation - this has nothing to do with Oracle.
    2) Do i need to install SQL on the Unix to connect to oracle server?
    Not really. It does mean you might want to install an Oracle CLIENT (see the download section of http://otn.oracle.com) which will initiate the sequence as above.
    A different sort of client is SQL Developer, a Java-based GUI with it's own built-in Oracle Networking, that displays database stuff. That is also offered by Oracle at the same download page.
    3) and which C/C++ API i have to use to access tables from the remote oracle server?
    Oracle provides a C/C++ API as a pre-processor, called Pro*C. I suspect this si way beyond what you want right now.
    4) please help me i am new to oracle .
    Please, please, please, please, please ..... please .... purchase and read http://www.oreilly.com/catalog/oressentials3/

  • How to connect to 9i database using 8i sqlplus?

    Hello,
    My Oracle server is running 9.2.0.1
    My Oracle client processes run on the same machine using Oracle 8i (ORACLE_HOME is set to 8i home).
    I cannot connect to 9i database using 8i sqlplus.
    My ORACLE_HOME for client environment is set to 8i home.
    How can I access 9i database using 8i sqlplus?
    Thanks in advance!

    I saw this answered in another thread:
    8i sqlplus not working on 9i
    Please try not to cross post.
    Alison

  • How to connect to SAP Database from a Adobe flex application?

    Hi
    I am an intern currently working on designing an Adobe flex interface that interacts with an SAP Database, although im torn between methods of implementing the most efficient connection without over-complicating the problem. I believe the best approach would be to use SAPJCo but am unfamiliar with how to approach this method and am finding it hard to get detailed documentation or code examples which show connecting to a Database. Another approach would be using a web service but my problems again arise with my lack of knowledge to connect to the Database.
    Any advice or help would be much appreciated.
    Thanks,
    Jonny

    Hi Jonathan.
    I believe webservice is the best approach, steps to create webservice is very simple.
    1. create a webservice from a standard rfc or bapi.
    2. release and activate webservice.
    3. it will generate wsdl file which can be used in flex environment.
    creating webservice.
    http://help.sap.com/saphelp_nw04s/helpdata/en/0d/2eac5a56d7e345853fe9c935954ff1/frameset.htm
    Consuming ABAP Web Services using Flex :
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/emtech/consuming%2babap%2bweb%2bservices%2busing%2bflex
    i hope this surely helps.
    Venkat.

  • How Workspace connect wih LiveCycle Database

    Hello,
    I am trying to put a "Change Password" operation for the loginned user inside the Workspace. I have imported workspace source to my Flex Builder. In the UI I have put the necessary fields for password change and a button for change the old password with current. I am new to Flex so I could not understand how Flex connect with LiveCycle.
    It seems with remoting, it calls the livecycle services. Is there any service that can I call to change password operation? Or how can I connect the database and change password? Can somebody put the sample or pseudo codes?
    Thank you
    Asiye

    Hi Asiye
    Normally LiveCycle is configured to use LDAP authentication. In this case, LiveCycle is not really capable of changing the passwords - this must be done through the LDAP server (ie ActiveDirectory, etc).
    If you're using Local domain, then passwords are stored in LiveCycle.
    I'm sure there is an api for changing passwords, but I'm not sure what, or how you would find out about it.
    If you'd like us to do some investigation for you, please email info-at-avoka.com.
    Howard
    http://www.avoka.com

  • How to connect to the database

    hello, i'm using windows 2000 sp: 4
    i have installed databaseXE 10g and Developer suite 10g (installation: Complete).
    When i run oracle designer or repository administration utility, i can't enter with my database acount > user : system, password: xxxx(database password).
    i try to configure the application with Net Configuration Assistant, creating listeners and service name but i don't understand this procedure.
    can somebody help me connecting to my database?!

    Try to follow steps from Quick Start to Oracle Net Connections: http://download.oracle.com/docs/cd/B28359_01/network.111/b28316/gettingstart.htm#i485122

  • How to connect to remote database

    Hi experts,
    i want to connect with another database in our network what are all the steps i need to follow? i just confused with listener.ora and tnsnames.ora. waiting for your ideas.....

    The database listener is the process that is configured via the listener.ora file. The administrator of the other database should have configured a listener for that database.
    On the client machine, you'll need to configure a tnsnames.ora entry unless you are using Oracle Names, Oracle Internet Directory, EZConnect syntax, or something like JDBC to connect. The administrator of the other database should be able to give you a tnsnames entry for connecting to his (or her) database.
    Justin

  • How to connect with the database

    Hi
    I have oracle instant client instantclient-basic-win32-11.1.0.6.0 and i have oracle database 11g installed on oracle enterprise linux machine, i want to connect to that oracle from windows xp machine. i have oracle instantclient-basic-win32-11.1.0.6.0, which has following files.
    vc8
    vc71
    adrci
    adrci
    BASIC_README
    genezi
    genezi
    etc.......
    when i connect using sqlplus TNS adapter error is coming what to do

    Try to follow steps from Quick Start to Oracle Net Connections: http://download.oracle.com/docs/cd/B28359_01/network.111/b28316/gettingstart.htm#i485122

Maybe you are looking for