Jdev And Oracle 8i Lite (Help me)

When I create a new project with the wizard I have a problem with the connection to my scheme (Oralce 8i late)(Polite is the database of the oracle 8i late). I can connect suceful but, I can't see the tables, the program say me that
SQL Error
POL-5130 message file is not loaded
java.sql.SQLException
Thanx

JD3112 installation readme file contains the following hint. This might be useful to you...
>>
Please see the section "Using Oracle8i Lite with JDeveloper" in the online HELP for information on configuring Oracle8i Lite for use with JDeveloper.
>>
Regards.
Anil
null

Similar Messages

  • b font color ='red' Java JDBC and Oracle DB URGENT HELP PLEASE /font /b

    Hello, I am a newbie. I'm very interested in Java in relation to JDBC, Oracle and SAP.I am trying to connect to an Oracle DB and I have problems to display the output on the consule in my application. What am I doing wrong here . Please help me. This is my code: Please Explain
    import java.sql.*;
    import java.sql.DriverManager;
    import java.sql.Connection;
    public class SqlConnection {
         public static void main(String[] args) {
              Class.forName("oracle.jdbc.driver.OracleDriver"); //Loading the Oracle Driver.
              Connection con = DriverManager.getConnection
              ("jdbc:orcle:thin:@34.218.5.3:1521:ruka","data","data"); //making the connection.
              Statement stmt = con.createStatement ();// Sending a query to the database
              ResultSet rs = stmt.executeQuery("SELECT man,jean,test,kok FROM sa_kostl");
              while (rs.next()) {
                   String man = rs.getString("1");
                   String jean = rs.getString("2");
                   String test = rs.getString("3");
                   String kok = rs.getString("4");
                   System.out.println( man, jean, test,kok );//here where my the
                                                 //compiler gives me errors
              stmt.close();
              con.close();
    }

    <b><font color ='red'>Java JDBC and Oracle DB URGENT HELP PLEASE</font></b>Too bad your attempt at getting your subject to have greater attention failed :p

  • XML and Oracle 8i Lite

    Hi Wizards
    I'm in an endeavour to do the following things -
    1.Generate XML output from Oracle 8i Lite database
    2.Modify the XML and update the database taking the modified XML.
    My java platform is JDK 1.2. I've used the XML SQL Utility for Java, and in doing so i've been successful with the 1st step. I've used the Oracle 8.1.6SDK JDBC Driver which is compatible with JDK 2.The code fragment is like the following -
    import java.io.*;
    import java.sql.*;
    import java.math.*;
    import oracle.xml.sql.query.*;
    import oracle.jdbc.*;
    import oracle.jdbc.driver.*;
    public class orasql1
    public static void main(String args[]) throws SQLException
    Connection conn = null;
    String tabName = "emp";
    try {
    Class.forName("oracle.lite.poljdbc.POLJDBCDriver");
    conn = DriverManager.getConnection("jdbc:Polite:POlite", "SYSTEM", "manager");
    catch (Exception e) {
    System.out.println("Oracle Connection error\t:");
    System.out.println(e);
    System.exit(0);
    OracleXMLQuery qry = new OracleXMLQuery(conn, "select * from " + tabName);
    qry.setRowsetTag("SCHEMADOC_1");
    qry.setRowTag("EMPLOYEE");
    qry.setStyleSheet("emp.xsl");
    String xmlString = qry.getXMLString(true);
    conn.close();
    try {
    File output = new File("emp.xml");
    FileWriter xmlFile = new FileWriter(output);
    xmlFile.write(xmlString,0,xmlString.length());
    xmlFile.close();
    catch (Exception e) {
    System.out.println("Output file error\t:");
    System.out.println(e);
    System.exit(0);
    I am putting some sample code for step 2 in the following section -
    import oracle.xml.sql.dml.*;
    import java.sql.*;
    import oracle.jdbc.driver.*;
    import oracle.jdbc.*;
    import java.net.*;
    public class orasql2
    public static void main(String args[]) throws SQLException
    Connection conn = null;
    String tabName = "emp";
    String fileName = "emp.xml";
    try {
    Class.forName("oracle.lite.poljdbc.POLJDBCDriver");
    conn = DriverManager.getConnection("jdbc:Polite:POlite", "SYSTEM", "manager");
    catch (Exception e) {
    System.out.println("An error has occurred.");
    System.out.println("Please check your CLASSPATH variable..");
    System.out.println(e);
    System.exit(0);
    OracleXMLSave save = new OracleXMLSave(conn, tabName);
    URL url = save.createURL(fileName);
    save.setRowTag("SCHEMADOC_1");
    int rowCount = save.insertXML(url);
    System.out.println("Successfully inserted "+rowCount+" rows into "+tabName);
    conn.close();
    Compiling the above code is fine, no errors! But while running the application I get the error -
    Exception in thread "main" oracle.xml.sql.OracleXMLSQLException: java.lang.Class
    CastException: oracle.lite.poljdbc.OracleStatement
    at oracle.xml.sql.dml.OracleXMLSave.insertXML(OracleXMLSave.java:345)
    at oracle.xml.sql.dml.OracleXMLSave.insertXML(OracleXMLSave.java:248)
    at orasql2.main(orasql2.java:27)
    My question is whether this thing can be done at all using Oracle 8i Lite? If so then how?
    Waiting for ur advices.
    Biplab
    (An Indian, but at present in Houston, Texas)

    It looks like be a classpath issue. Would you check with the class name.

  • Imp and Oracle 8i LITE

    iH:
    There was another post on this topic, but the answer was vague.
    I have an Oracle 8 database dump file (a DMP). I would like to import (a subset of) this dump file into my Oracle 8i LITE database.
    Is this possible? I don't have access right now to an Oracle8(i) server, so I can't use the Oracle 8 Navigator to cut and paste the data that I need from the dump file ...
    When I run imp80.exe (which was installed by the Oracle Lite installer) I get the message:
    IMP-00003: ORACLE error 942 encountered
    OCA-30034: table not found
    [POL-5130] table or view not found
    IMP-00021: operating system error - error code (dec 2, hex 0x2)
    IMP-00023: Import views not installed, please notify your DBA
    IMP-00000: Import terminated unsuccessfully
    So is imp80.exe supported by Oracle LITE or not?
    Aaron
    [email protected]
    null

    Before you can import/export, you need to run the SQL catexp.sql from the $ORACLE_HOME/rdbms/admin directory.

  • [b]Java JDBC and Oracle DB URGENT HELP PLEASE[/b]

    Hello, I am a newbie. I'm very interested in Java in relation to JDBC, Oracle and SAP.I am trying to connect to an Oracle DB and I have problems to display the output on the consule in my application. What am I doing wrong here . Please help me. This is my code: Please Explain
    import java.sql.*;
    import java.sql.DriverManager;
    import java.sql.Connection;
    public class SqlConnection {
    public static void main(String[] args) {
    Class.forName("oracle.jdbc.driver.OracleDriver"); //Loading the Oracle Driver.
    Connection con = DriverManager.getConnection
    ("jdbc:orcle:thin:@34.218.5.3:1521:ruka","data","data"); //making the connection.
    Statement stmt = con.createStatement ();// Sending a query to the database
    ResultSet rs = stmt.executeQuery("SELECT man,jean,test,kok FROM sa_kostl");
    while (rs.next()) {
    String man = rs.getString("1");
    String jean = rs.getString("2");
    String test = rs.getString("3");
    String kok = rs.getString("4");
    System.out.println( man, jean, test,kok );//here where my the
    //compiler gives me errors
    stmt.close();
    con.close();
    }

    Hello, I am a newbie. I'm very interested in Java in
    relation to JDBC, Oracle and SAP.I am trying to
    connect to an Oracle DB and I have problems to
    display the output on the consule in my application.
    What am I doing wrong here . Please help me. This is
    my code: Please Explain
    import java.sql.*;
    import java.sql.DriverManager; <--- Why do you have these (java.sql.* is enough)
    import java.sql.Connection;
    public class SqlConnection {
    public static void main(String[] args) {// Where's the try/catch block?
    >
    Class.forName("oracle.jdbc.driver.OracleDriver");
    //Loading the Oracle Driver.
    Connection con = DriverManager.getConnection
    ("jdbc:orcle:thin:@34.218.5.3:1521:ruka","data","data"
    ); //making the connection.
    Statement stmt = con.createStatement ();// Sending a
    query to the database
    ResultSet rs = stmt.executeQuery("SELECT
    man,jean,test,kok FROM sa_kostl");
    while (rs.next()) {
    String man = rs.getString("1");
    String jean = rs.getString("2");
    String test = rs.getString("3");
    String kok = rs.getString("4");
    System.out.println( man, jean, test,kok );//here
    where my the
    //compiler gives me errors
    stmt.close();
    con.close();
    }The compiler is probably complaining about the lack of a try/catch block.
    The fact that you can't understand the compiler messages, and didn't read the javadocs enough to know that you needed a try/catch block, suggest to me that you need to learn a lot more about Java. This is pretty fundamental stuff.
    When you have problems, it's best to include information about what the compiler or runtime is telling. Error messages and stack traces are helpful.
    In your case the error is so elementary that more information isn't necessary.
    %

  • SQL*Plus and Oracle 9i Lite

    What is the trick to connecting to Oracle 9i Lite using SQL*Plus?
    I am using the following:
    Username: system
    Password: aaa
    Host String: ODBC:POLite
    I recieve an ORA-12203: TNS:unable to connect to destination: Function not performed
    do I need an entry in my tnsnames.ora file? If yes what? Also, if yes, where in the docs is this discussed?
    Thanks in advance

    Try format
    ODBC:POLITE:datasource
    for Polite:
    ODBC:POLITE:POLITE
    But since 4.0.1 Oracle Lite you can't use SQL plus.
    Use new tool named msql (<ora home>\Mobile\SDK\BIN\msql.exe) or SQL Worksheet in Oracle9i JDeveloper.

  • Difference between oracle 9i database and oracle 9i lite

    Dear Sir/Mam,
    I like to know the performance and functionality difference
    between oracle 9i database and oracle9i lite.
    Is there is any performance variations between
    oracle 9i 9.0.1.1.1 and 9i 9.2.0.1.1

    Hello,
    you can see this note
    #139580.1, Oracle - Compatibility Matrices and Release Information, for detailed information.
    regards, Jorge

  • SQL PRO AND ORACLE SQL URGENT HELP

    Can any one help me out here withe these questions:
    Pro C Qusetions:
    1.     What are the SQLCA and SQLDA ?
    2.     What is a mutating table ?
    3.     What are indicator variables and how are they used ?
    4.     What are the components of the Oracle VARCHAR type and how should such a structure be loaded into a C Char type ?
    5.     Why would you use the ‘ALTER SESSION’ command in conjunction with the tkprof program and what is the purpose of each step ?
    ORACLE SQL QUESTIONS:
    1.0     How would you move data from one Oracle database to another Oracle database?
    2.0     How would you import data into an Oracle database from another DBMS or flat file?
    3.0     What is an Outer Join and how does the output differ from a simple join?
    4.0     What is the difference between the conditional expressions IN and EXISTS ? In what circumstances would you USE EACH.
    5.0      You cannot create a unique index on a table due to duplicate values. Describe how you find the offending row and subsequently delete it.

    1. What are the SQLCA and SQLDA ?
    SQLCA = SQL Communications area: stores status variable and error message text. manual reference
    SQLDA = SQL Descriptor Area - stores information about bind variables. manual reference
    2. What is a mutating table ?
    A table that is being modified and that you are trying to select from. Usually encountered in a before insert/update trigger when trying to select from the table that is being inserted/updated, which causes the dreaded ORA-04091 error.
    3. What are indicator variables and how are they used ?
    Used in Pro*C to tell if the table column contains the value NULL.
    4. What are the components of the Oracle VARCHAR type and how should such a structure be loaded into a C Char type ?
    varchar2 is a null-terminated string. Use Pro*C extended type VARCHAR. Manual Reference
    5. Why would you use the "ALTER SESSION" command in conjunction with the tkprof program and what is the purpose of each step ?
    Use alter session to set tracing on for your session:
    alter session set sql_trace = true ;
    this will create a trace file in the user dump destination
    (select value from v$parameter where name = 'user_dump_dest'). Use tkprof to format the trace file.
    1.0 How would you move data from one Oracle database to another Oracle database?
    Export / Import Oracle utility, Database link and INSERT ... SELECT ..., Database link and COPY command, save to flat file and use SQL*Loader, transportable tablespaces, database "cloning" by copying database files over to a new server and creating a new instance based on those files. List of manuals look up CREATE DATABASE LINK in the SQL Reference, COPY command in the SQL*Plus reference, Export/Import or SQL*Loader in the Utilities manual.
    2.0 How would you import data into an Oracle database from another DBMS or flat file?
    SQL*Loader Oracle Utility
    3.0 What is an Outer Join and how does the output differ from a simple join?
    An example is worth 1000 words.
    SQL> select * from emp ;
       EMP_NO EMP_NAME     DEPT_NO
            1 SMITH              1
            2 JONES              1
            3 BROWN              2
            4 BOND               5
    SQL> select * from dept ;
      DEPT_NO DEPT_NAME
            1 SALES
            2 MARKETING
    SQL> -- inner or "ordinary" join
    SQL> select a.emp_name, b.dept_name
      2  from emp a, dept b
      3  where a.dept_no = b.dept_no ;
    EMP_NAME   DEPT_NAME
    SMITH      SALES
    JONES      SALES
    BROWN      MARKETING
    SQL> -- outer join
    SQL> select a.emp_name, b.dept_name
      2  from emp a, dept b
      3  where a.dept_no = b.dept_no (+) ;
    EMP_NAME   DEPT_NAME
    SMITH      SALES
    JONES      SALES
    BROWN      MARKETING
    BOND5.0 You cannot create a unique index on a table due to duplicate values. Describe how you find the offending row and subsequently delete it.
    Using exceptions clause of enable constraint
    ALTER TABLE employees
    ENABLE VALIDATE CONSTRAINT emp_manager_fk
    EXCEPTIONS INTO exceptions ;
    Find rowids in exceptions table and use those rowids to delete the "bad" data. See SQL reference on alter table for more details.

  • IMP80 and Oracle 8i Lite

    Hello,
    Does anybody know how to import data from a .dmp file into 8i Lite? I've tried using the imp80 and exp80 tools but I got an error that the import/export views were not installed in the database. Thanks in advance.
    Brian

    Before you can import/export, you need to run the SQL catexp.sql from the $ORACLE_HOME/rdbms/admin directory.

  • Oracle 8i Lite - OO4O and other Questions

    1.) Can OO4O (Oracle Objects for OLE) be used with the Oracle 8i Lite database ?
    2.) Does Oracle 8i Lite operate as a "client/server" database ?
    3.) Is it possible to have multi-user access to Oracle 8i Lite ?
    4.) Is there documentation somewhere that lists all of the limitations with 8i Lite as compared to 8i ?
    We are in the planning stages of a partial mobile system, and want to know how much difference in development efforts for the 2 platforms (Oracle 8i on Win 2000 server and Oracle 8i Lite on NT/98/95 Laptops).
    Any information on Oracle 8i Lite would be appreciated. -- Especially need an answer to question 1 right now.
    Thanks,
    Paula

    Hi,
    I am qouting below from the oracle 8i Lite documentation which says it supports triggers . Please clarify.
    Oracle Lite DBMS
    Oracle Lite DBMS is a lightweight (50KB - 750KB), Java enabled database designed from the ground up for laptops, handheld computers, PDAs and smartphones. It supports industry standard ODBC, JDBC, SQLJ, and Java Stored Procedures and Triggers. It provides a streaming fast "C" interface, OKAPI, to its object kernel. It also supports Java Access Classes, JAC, a fast and easy way to make Java Objects persistent. Oracle Lite DBMS now supports all popular mobile platforms, including Palm OS, EPOC, and Windows CE, letting you deploy enterprise applications on virtually any mobile device.
    Regards
    null

  • Any difference in the dbms and jdbc drivers btw oracle 8i lite and 9i lite

    Is there any significant difference between oracle 8i lite and oracle 9i lite in terms of database and jdbc drivers?
    If not, it may be better off using oracle8i.

    According to Oracle , 9i lite is more powerful than 8i Lite.
    one thing, 8i Lite is not certified for windows 2000.
    jothi

  • Form Server Connection to Oracle 8i Lite

    Hi
    I developed a web based application using form server and oracle 8i. In disconnected mode, I want to run same app on my laptop using form server and oracle 8i lite. But i m unable to connect to oracle 8i lite through form server. In normal mode, i m using microsoft odbc for connection with oracle lite, but it doesn't work with form server.
    Can any one help me, what should I do to make connection to 8i Lite from Form server ?
    thanks in advance
    null

    When using Oracle 8i Lite (4.0.x.x.x) with JDeveloper,
    you have to:
    1) If under JDK 1.1,
    1a) make sure that your %ORACLE_HOME%\bin directory is in your
    path.
    1b) Add OLITE40.JAR and OLJDK11.JAR to the IDEClassPath in
    JDEVELOPER.INI (remember, ya gotta have
    the stuff in your classpath for it to work!)
    2) If under JDK 1.2
    2a) Add your %ORACLE_HOME%\BIN directory to the JLP and SLP
    sections under [Ferrari]
    2b) Add OLITE40.JAR to the IDEClasspath.
    The reason for 2a is that under JDK 1.2, the call
    "System.loadlibrary(xxx)" does not use the path to look for the
    DLL. Only the system property "java.library.path" and
    "sun.boot.library.path" Each of these two settings must
    be set for it to work.
    -JDeveloper Team
    Joydip Homchowdhury (guest) wrote:
    : I have installed Oracle 8i Lite and JDeveloper 3.0 in my NT
    : machine. When I try to create a new connection using Oracle
    Lite
    : JDBC 4.0 driver and try testing the connection I get the
    : following message :
    : Unable to find driver oracle.lite.poljdbc.POLJDBCDriver
    : Do I need to install any other components or set any other
    : environment variables.
    : Thanks in advance for your answers
    : Joy
    null

  • Oracle 9i LIte Connectivity with MIDP

    Hello,
    I am facing problem for connectivity of MIDP and Oracle 9i Lite. Anyone knows the which tool is good to desing the MIDP. Shall i use the Swing/AWT in MIDP. Is there any way to make Grid Layout and Buttons with MIDP.

    you cant user those in the MIDP
    but you have to call server application and then server applciation will fetch teh data from the oracle and retunr them back to midlet
    [email protected]

  • Oracle 8i Lite connection problem

    I'm trying to make connection with Oracle 8i Lite native jdbc driver. I'm getting error "Unable to find driver oracle.lite.poljdbc.POLJDBCDriver" when pressing Test button.
    olite40.jar is in IDEClassPath in jdeveloper.ini and Oracle 8i Lite is in Default Project Libraries.
    What I've missed?

    If you have added the Olite40.jar file to the IDE_CLASSPATH setting in the jdeveloper.ini file, make sure you restarted JDeveloper after editing the ini file.
    Also, make sure you specity 'Olite40.jar' not 'olite40.jar' (watch the case of the archive file name).

  • Does Oracle 9i Lite supports Thai language?

    We are developing mobile application[residing in a laptop] using java and Oracle 9i lite version [Release 5.0.2]. The application has English and Thai version. After we upload all the data[thai and english phrases] to Oracle lite from server [residing in Sun Solaris, Oracle 91] we were able to see the Thai characters in mobile, but for some phrases there is an extra English character amended to the phrase. We are not doing any char conversion here, just collecting the data from server and inserting to lite version DB.
    Entries in polite.ini are,
    [All Databases]
    DatabaseID=501
    DataDirectory=C:\oracle\ora90\Mobile\Sdk\OLDB40
    NLS_LOCALE=ENGLISH
    MessageFile=C:\oracle\ora90\Mobile\Sdk\BIN\OLITE40.MSB
    DBCharEncoding=Native
    When i ran through the release document for Oracle9i Lite Release 5.0.2, i can relalize that it is not supporting Thai language. Correct me if i am wrong.
    Did any of the latest Lite version supports Thai language. How about 10g? Or any alternatives is there in Release 5.0.2 itself.
    Thanks and looking forward for your reply.
    Best Regards,
    Muthu

    Hello,
    I am not sure to understand your question.
    Oracle Lite is a SQL Database , and you can access it from Oracle Application Server using the correct JDBC driver and then use the JSP Tag libs to access the data (JSTL SQL) or any JDBC API in J2EE.
    If I am not answering your question please add more details about what you are trying to achieve...
    Regards
    Tugdual Grall

Maybe you are looking for

  • How can I download itunes 10.6.3, as itunes 10.7 is not compatible with my macbook?

    I upgraded my iphone 4s to iOS X 6. It will not connect to my itunes now because it requires itunes 10.6.3. The latest version of itunes is 10.7 but this is not compatible with my macbook, when I download 10.7 it says that i need to have Mac OS X 10.

  • Application not found asha 305

    Hey! Am back again. All my asha 305 pre-installed apps display "application not found" upon trying to launch anyone of them. Help me out coz I still regard those apps essential to me and am not about to change my phone.

  • ADF Taskflow with parameters in table

    Hi, I am developing a component that renders a user list. The first column is an image being rendered dynamically based on the user id and the second one shows the user name with a popup being displayed on rollover. The pop-up content must display a

  • ERROR: Updatable SQL Query already exists on page 20.

    Hello, I created a tabular form, then added a where clause and started getting the following error: Error in mru internal routine: ORA-20001: no data found in tabular form So I deleted all components of the tabular form (region, buttons, branches and

  • Problem in understanding literals

    Hi Im learning Java for about a week now and I still dont know what literals are used for. But i have a suggestion: They are used if a method expects a certain simple variable type (e.g. float) and you want to give the number 10 to it. And now you ne