Oracle 9i lite database creation

Can i create the database without using the sync or the create db. Or programatically how do i create the database

Can i create the database without using the sync or the create db. Or programatically how do i create the database Check out the client side APIs, examples can be found in the documentation, see WINCE (PocketPC) Developer's Guide.
RP.

Similar Messages

  • Oracle 10g Lite Database User Creation

    Hi,
    I am using Oracle 10g Lite Database Release 3, I Like to Know How to Create a user in Oracle 10g Lite Database through Command ,Any Advice
    Thanks U
    SHAN

    Shan,
    In the same way you create user in any other oracle database. I recommned to check following Oracle Lite Sql reference document for creating user from command line.
    http://download.oracle.com/docs/cd/B19188_01/doc/B15917/sqcmd.htm#sthref487
    or
    sql> CREATE USER liteuser IDENTIFIED BY "litepassword"; -- And add required privs to the user.
    Regards

  • Sequencing and Trigger on Oracle 9i lite database

    We created a schema (TESTSCHEMA) on Oracle 8.1.7 Enterprise edition and have a created a trigger which will use the sequence object to generate primary key for the table (TEST_TABLE)
    Sequence creation:
    CREATE SEQUENCE TESTSCHEMA.TEST_TABLE_SEQUENCE START WITH 6000 INCREMENT BY 1 MINVALUE 6000 MAXVALUE 6999 NOCACHE NOCYCLE NOORDER ;
    Trigger creation:
    CREATE OR REPLACE TRIGGER TEST_TABLE INSERT BEFORE INSERT ON TEST_TABLE FOR EACH ROW
    DECLARE
    pkValue NUMBER;
    BEGIN
    pkValue := 0;
    Select TEST_TABLE_SEQUENCE.NextVal into pkValue from dual;
    :NEW.TEST_KEY := pkValue;
    END TEST_TABLE_INSERT;
    We have created a snapshot of the schema on mobile server, synchronized the data with the client (Win32 for testing purpose).
    The trigger works fine on the server, but when I run the same query on the lite database with msql it gives me an error:
    [POL-3221] null key in primary index
    I was wondering if Sequence generation and Triggers are supported on Oracle 9i lite database ? Or am I missing out something ??
    Any information/ help is appreaciated
    Thanks
    Neeraj

    You can't use SAVEPOINT / ROLLBACK TO SAVEPOINT statements in the database trigger:
    ORA-04092: cannot SET SAVEPOINT in a trigger
    ORA-04092: cannot ROLLBACK in a trigger
    I am not sure what you need exactly, but you can try this:
    Simulating ROLLBACK TO SAVEPOINT Behavior in a Database Trigger
    http://www.quest-pipelines.com/pipelines/plsql/tips02.htm#JUNE
    Regards,
    Zlatko Sirotic

  • Oracle 10g Lite database - Replacement

    Hi,
    Can u mention some database similar to oracle 10g Lite database features which supports forms10gr2?]
    Note: Thin Database required.
    Regards
    Sreenivas

    Shan,
    In the same way you create user in any other oracle database. I recommned to check following Oracle Lite Sql reference document for creating user from command line.
    http://download.oracle.com/docs/cd/B19188_01/doc/B15917/sqcmd.htm#sthref487
    or
    sql> CREATE USER liteuser IDENTIFIED BY "litepassword"; -- And add required privs to the user.
    Regards

  • Installing Oracle 9i Lite Database standalone

    We are interested in installing the Oracle 9i Lite Database standalone for Windows 2000. Can you send me the instructions that you mentioned below in a previous response? In addition, I need to know the size of the database footprint.
    Thanks,
    Sarah
    [email protected]

    We are interested too, we have Satellite Forms and having many problems for connect to Oracle Lite Database on Palm Device. If you have any other information
    for to do it, i will appreciate eternaly.
    Jorge
    [email protected]
    We are interested in installing the Oracle 9i Lite Database standalone for Windows 2000. Can you send me the instructions that you mentioned below in a previous response? In addition, I need to know the size of the database footprint.
    Thanks,
    Sarah
    [email protected]

  • Oracle 9i manual database creation on the Red Hat 9 Linux

    I installed Oracle 9I on the Red Hat 9 Linux successfully with automatic database creation.
    I tried to create second database manually and everything seemed to be fine until I issued create database statement. I got the following error:
    ERROR at line 1
    ORA-01092: ORACLE instance terminated. Disconnection forced.
    Please help me to solve the problem.
    Thank you,

    Ok I am having the same exact problem and I am typing this into the shell before I run the installer.
    export DISPLAY=yourdesktop:0.0
    I thought that would fix the problem but it still hangs and gives the same message as the other guy gets. How can I solve this problem and get the installer running? I would really appreciate any help. This is the message I get:
    [oracle@localhost linux]$ ./runInstaller
    Initializing Java Virtual Machine from /tmp/OraInstall2003-08-02_10-09-53PM/jre/bin/java. Please wait...
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:59)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:120)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
    at java.awt.Window.<init>(Window.java:188)
    at java.awt.Frame.<init>(Frame.java:315)
    at java.awt.Frame.<init>(Frame.java:262)
    at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:593)
    [oracle@localhost linux]$

  • Oracle 9i Lite database size growing

    The database size on Oracle 9i Lite is increased.
    If I extract data and recreate database with them, volume can be reduced at 5-10 of time.
    Whether there are any other ways of reduction of the size? Some tools, or may be internal Java classes.

    Can i create the database without using the sync or the create db. Or programatically how do i create the database Check out the client side APIs, examples can be found in the documentation, see WINCE (PocketPC) Developer's Guide.
    RP.

  • ORA-29532 on Oracle 9i custom database creation (Linux Redhat 7.2)

    I'm trying to create oracle 9i on Linux Redhat 7.2 (2.4.16), but I got a ORA-29532 error:
    ORA-29532: java call terminated by uncaught java exception: java.net.BindException: unable to bind end point, status=12571<0.0.0.0,2481>
    This error was thrown on Oracle JVM database creation process.

    I'm trying to create oracle 9i on Linux Redhat 7.2 (2.4.16), but I got a ORA-29532 error:
    ORA-29532: java call terminated by uncaught java exception: java.net.BindException: unable to bind end point, status=12571<0.0.0.0,2481>
    This error was thrown on Oracle JVM database creation process.

  • Problems from oracle designer to database creation

    i am getting the following problem when creating a database using oracle designer:
    "has no role cannot regenerate"
    this is specific to the primary keys of each table
    has anyone come across this before? any ideas guys?
    Andy

    I think this belongs in another forum, but could you answer this question: Are you trying to generate database creation scripts by select Create Oracle Database in the DB Admin tab of the Design Editor?
    Kind regards,
    Russ Cannon

  • Is it possible to use Oracle Forms 10g with Oracle 10g Lite Database?

    Hi All,
    We are in process of migrating our forms from 6i to 10g environment.
    We have two kinds of applications, one set run on general Oracle 11g database and the other set of forms run at the client machine using Oracle lite database.
    We dont have any problem with Forms 6i to connect to Lite database as it allows to connect through ODBC:DSN names. When we try to connect to a lite database (10gR3) from Forms 10g through ODBC/DSN, it's not allowing and throwing the below error.
    ORA-03121 : no interface driver connected - function not performed
    Can someone tell me if there is something wrong in our approach? Also advise how to use Oracle Lite database with Forms 10G.
    Sincerely,
    Praveen Manthena

    Hi,
    I have experience with 6i with lite database 10g. There are two version of lite database one is multi language support and other one in english. There lang problem in connectivity with multi language 10g lite database. I done connectivity with single language connectivity of 6i with 10g lite database. You should try this one with forms 10g.
    Regards,
    Naveed Ali

  • Connect Forms 6i application to Oracle 10g Lite database on notebook

    We are currently looking at mobilising one of our legacy systems. This application uses forms 6i. I have build the Olite Mobile Server and installed the olite database on a notebook. We have sucessfully synchonised from a 9i database to the Olite database on the notebook and have been able to validate the snapshot using msql
    when we try to connect to the olite database on the notebook using developer we get the following
    POL-5150 Access violation - Program attempted to access a database system table
    has anyone sucessfully connected forms 6i to an olite 10g database or know of someone who has.
    Thanks
    Sean

    I believe Oracle Lite is a non-SQLNET database and Forms can only connect via SQL*Net. If I am wrong and Oracle Lite can use SQL*Net I suggest you call Oracle Support and ask them to analyze your situation.

  • Oracle 9.20 DataBase Creation error

    Hello,
    I am a GIS developer and i should use Oracle 9i beacuse of my other software like ArcSDE and ArcGIS server version.
    I have a problem when i want to create a database using "DataBase Configration Assistante".
    On 81% and on "Creating and Starting Oracle Instance" i get an error without any message.
    it's a page that have an information icon and an ok buttoun but without any message.
    I sorry for my bad english.
    Please help me to solve it.
    Thanks
    S.Mehdi Hosseiny

    No help is possible based on what you've written. Can you find someone to help you post more complete information? Here's what we need.
    1. Operating system
    2. Hardware platform and amount of RAM and available disk
    3. The exact and complete 9i version
    4. The exact error reported and the installation log file portion that includes the error message plus what preceded it.

  • Oracle 9i installation hanging in "Clone Database Creation in Process"

    Hi all,
    I have been struggling in installing the 9i in my laptop.
    Here is my setup,
    OS: Windows Server 2003 Enterprise Edition SP2 in VMWare
    Database: Oracle 9i 9.2.0.1.0
    When it automatically comes to "Database Configuration Assistant", there are 4 steps.
    Copying Database files
    Initializing Database
    Creating and starting Oracle Instance
    Completing database creation
    The 1st 3 steps has been completed and the installation just hangs at the last step when the completion rate is 88%.
    Anyone got problem like this ?
    Here are the details I have so far for the DBCA during installation process,
    Listener Control complete.
    Listener start failed. Listener may already be running.
    Listener configuration complete.
    Default local naming configuration complete.
    Oracle Net Services configuration successful. The exit code is 0
    Since I am completely new to installing DB, please help me to get rid of this frustration.
    Thanks !
    Regards,
    Chris

    Capacity Planner 9.2.0.1.0
              Enterprise Manager Events 9.2.0.1.0
              Enterprise Manager Base Classes 9.2.0.1.0
              Required Support Files 9.2.0.1.0
              Enterprise Manager Installation Prerequisite Checks 9.2.0.1.0
              Utilities Common Files 9.2.0.1.0
              Enterprise Manager Quick Tours 9.2.0.1.0
              Oracle Display Fonts 9.0.2.0.0
              regexp 2.0.20.0.0
              Oracle OLAP Worksheet 9.2.0.1.0
              Oracle OLAP API 9.2.0.1.0
              Oracle Developer Server Forms Manager 9.2.0.1.0
              Oracle Intelligent Agent Base Component Files 9.2.0.1.0
              Oracle Internet Directory Client Common Files 9.2.0.1.0
              Sun JDK 1.3.1.0.1a
              Oracle Directory Manager 9.2.0.1.0
              Visigenics ORB 3.4.0.0.0
              Assistant Common Files 9.2.0.1.0
              Enterprise Manager Paging and OMS Common Files 9.2.0.1.0
              XML Parser for C 9.2.0.1.0
              Oracle Net Configuration Assistant 9.2.0.1.0
              Character Set Migration Utility 9.2.0.1.0
              Enterprise Manage Website Translated Files 9.2.0.1.0
              Oracle Net Manager 9.2.0.1.0
              Oracle Net 9.2.0.1.0
              Oracle Perl Interpreter 5.00503.0.0.0c
              Apache Web Server files 1.3.22.0.0a
              Oracle JDBC/OCI Driver for JDK 1.4 9.2.0.1.0
              Database Configuration Assistant 9.2.0.1.0
              Oracle JDBC/OCI Driver for JDK 1.2 9.2.0.1.0
              Oracle INTYPE File Assistant 9.2.0.1.0
              SQLJ Runtime 9.2.0.1.0
              Oracle JDBC/OCI Interfaces 9.2.0.1.0
              Advanced Queueing (AQ) API 9.2.0.1.0
              Oracle Caching Service for Java 2.1.0.0.0a
              Recovery Manager 9.2.0.1.0
              JSDK 2.0.0.0.0d
              Apache JServ 1.1.0.0.0g
              Oracle interMedia Java Client 9.2.0.1.0
              Oracle Java Layout Engine 2.0.1.0.0
              Oracle Administration Assistant for Windows NT 9.2.0.1.0
              Oracle XML SQL Utility 9.2.0.1.0
              SQLJ Translator 9.2.0.1.0
              Enterprise Login Assistant 9.2.0.1.0
              Oracle Services For Microsoft Transaction Server 9.2.0.1.0
              Enterprise Manager Paging Server 9.2.0.1.0
              Oracle Java Tools 9.2.0.1.0
              Oracle ODBC Driver 9.2.0.1.0
              Authentication and Encryption 9.2.0.1.0
              Oracle Wallet Manager 9.2.0.1.0
              Oracle Database User Interface 2.2.11.0.0
              Oracle SNMP Agent 9.2.0.1.0
              Oracle Provider for OLE DB 9.2.0.1.0
              Oracle Objects for OLE 9.2.0.4.4
              Oracle C++ Call Interface 9.2.0.1.0
              Oracle OLAP Cube Viewer 9.2.0.1.0
              Oracle OLAP CWM Lite 9.2.0.1.0
              Object Type Translator 9.2.0.1.0
              SQL*Plus 9.2.0.1.0
              Oracle Call Interface (OCI) 9.2.0.1.0
              SQL*Loader 9.2.0.1.0
              Secure Socket Layer 9.2.0.1.0
              Oracle Internet Directory Client 9.2.0.1.0
              Oracle Net Listener 9.2.0.1.0
              Advanced Replication 9.2.0.1.0
              Oracle Complete DSS Starter Database 9.2.0.1.0
              Oracle Complete OLTP Starter Database 9.2.0.1.0
              Oracle Starter Database 9.2.0.1.0
              Oracle Message Gateway Common Files 9.2.0.1.0
              Oracle Common Schema Demos 9.2.0.1.0
              Change Management Common Files 9.2.0.1.0
              Oracle UIX 2.0.20.0.0
              Oracle Help for the Web 1.0.7.0.0
              XML Class Generator for C++ 9.2.0.1.0
              XML Parser for C++ 9.2.0.1.0
              XML Parser for Oracle JVM 9.2.0.1.0
              XML Transx 9.2.0.1.0
              XML Transviewer Beans 9.2.0.1.0
              XML Class Generator for Java 9.2.0.1.0
              XSQL Servlet 9.2.0.1.0
              XML Parser for PL/SQL 9.2.0.1.0
              Oracle SQLJ 9.2.0.1.0
              Enterprise Manager Common Files 9.2.0.1.0
              Common Files For Generic Connectivity Using OLEDB 9.2.0.1.0
              Oracle SOAP Client 2.0.0.0.0a
              Oracle Workflow Manager 9.2.0.1.0
              Oracle Net Integration 9.2.0.1.0
              Oracle XML Runtime Components 9.2.0.1.0
              Enterprise Manager Database Applications 9.2.0.1.0
              Oracle SOAP Server 2.0.0.0.0a
              Oracle Database Demos 9.2.0.1.0
              Oracle Ultra Search Common Files 9.2.0.1.0
              Enterprise Manager Console 9.2.0.1.0
              Enterprise Manager Integrated Applications 9.2.0.1.0
              Enterprise Manager Client 9.2.0.1.0
              Database Workspace Manager 9.2.0.1.0
              Oracle interMedia Java Advanced Imaging 9.2.0.1.0
              Oracle interMedia Client Compatibility Files 9.2.0.1.0
              Oracle interMedia Java Media Framework Client 9.2.0.1.0
              Oracle interMedia Client Demos 9.2.0.1.0
              Oracle interMedia Web Client 9.2.0.1.0
              BC4J Runtime for Database 9.0.2.692.1
              Oracle Change Management Pack 9.2.0.1.0
              Oracle interMedia Annotator 9.2.0.1.0
              Data Management Services Common Files 9.2.0.1.0
              Oracle interMedia Common Files 9.2.0.1.0
              Oracle interMedia Image 9.2.0.1.0
              Oracle interMedia Audio 9.2.0.1.0
              Oracle interMedia Video 9.2.0.1.0
              Database Upgrade Assistant 9.2.0.1.0
              Oracle Intelligent Agent Config Tool 9.2.0.1.0
              Oracle Intelligent Agent 9.2.0.1.0
              PL/SQL Embedded Gateway 9.2.0.1.0
              Oracle HTTP Server Extensions 9.2.0.1.0
              Oracle eBusiness Management Extensions 9.2.0.1.0
              Oracle EMD Agent Extensions 9.2.0.1.0
              Oracle interMedia Client Option 9.2.0.1.0
              Oracle SOAP for JServ 2.0.0.0.0a
              MIcrosoft SQLServer(TM) Extensions 9.2.0.1.0
              Oracle Management Pack for Oracle Applications 9.2.0.1.0
              Oracle Windows Interfaces 9.2.0.1.0
              Export/Import 9.2.0.1.0
              Apache Configuration for Oracle XML Developer's Kit 9.2.0.1.0
              Oracle Tuning Pack 9.2.0.1.0
              Oracle Forms Extensions 9.2.0.1.0
              Oracle XML Developer's Kit 9.2.0.1.0
              Oracle Java Server Pages 1.1.3.1.0
              Oracle Diagnostics Pack 9.2.0.1.0
              Oracle Ultra Search Middle-Tier 9.2.0.1.0
              Oracle Dynamic Services Server 9.2.0.1.0
              Oracle Mod PL/SQL Gateway 3.0.9.8.3b
              Apache Configuration for Oracle Java Server Pages 1.1.2.3.0
              Oracle Text 9.2.0.1.0
              Generic Connectivity Common Files 9.2.0.1.0
              New Database ID 9.2.0.1.0
              Database SQL Scripts 9.2.0.1.0
              Generic Connectivity Using OLEDB - SQL 9.2.0.1.0
              Oracle HTTP Server 9.2.0.1.0
              XML 9.2.0.1.0
              Generic Connectivity Using OLEDB - FS 9.2.0.1.0
              iSQL*Plus 9.2.0.1.0
              Generic Connectivity Using ODBC 9.2.0.1.0
              Enterprise Manager Webserver Integration 9.2.0.1.0
              Reporting Framework 9.2.0.1.0
              Oracle interMedia Locator 9.2.0.1.0
              Oracle Management Server 9.2.0.1.0
              Oracle Ultra Search Server 9.2.0.1.0
              Oracle interMedia 9.2.0.1.0
              Oracle Trace 9.2.0.1.0
              Oracle9i Syndication Server 9.2.0.1.0
              Enterprise Manager Web Site 9.2.0.1.0
              Oracle Applications Extensions 9.2.0.1.0
              Oracle Intelligent Agent Extensions 9.2.0.1.0
              Oracle Programmer 9.2.0.1.0
              Migration Utility 9.2.0.1.0
              Oracle Enterprise Manager Products 9.2.0.1.0
              Oracle9i Development Kit 9.2.0.1.0
              Oracle Advanced Security 9.2.0.1.0
              Oracle JVM 9.2.0.1.0
              Database Verify Utility 9.2.0.1.0
              PL/SQL 9.2.0.1.0
              Oracle Database Utilities 9.2.0.1.0
              Oracle9i 9.2.0.1.0
              Oracle Net Services 9.2.0.1.0
              Oracle COM Automation Feature 9.2.0.1.0
              Oracle Data Mining 9.2.0.1.0
              Oracle OLAP 9.2.0.1.0
              Oracle Spatial 9.2.0.1.0
              Oracle Partitioning 9.2.0.1.0
              Enterprise Edition Options 9.2.0.1.0
              Oracle9i Database 9.2.0.1.0
    Starting to execute optional autolaunch configuration tools
    Launched configuration tool Oracle Net Configuration Assistant
    Command which is being spawned is C:\Program Files\Oracle\jre\1.1.8\bin/jrew.exe -Duser.dir=C:\oracle\ora92\network\jlib -classpath ";C:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;C:\oracle\ora92\jlib\ewt3.jar;C:\oracle\ora92\jlib\ewtcompat-3_3_15.jar;C:\oracle\ora92\network\jlib\NetCA.jar;C:\oracle\ora92\network\jlib\netcam.jar;C:\oracle\ora92\jlib\netcfg.jar;C:\oracle\ora92\jlib\help3.jar;C:\oracle\ora92\jlib\oracle_ice5.jar;C:\oracle\ora92\jlib\share.jar;C:\oracle\ora92\jlib\swingall-1_1_1.jar;C:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;C:\oracle\ora92\jlib\srvm.jar;C:\oracle\ora92\network\tools" oracle.net.ca.NetCA /orahome C:\oracle\ora92 /orahnam OraHome92 /instype typical /inscomp client,oraclenet,javavm,server,ano /insprtcl tcp,nmp,tcps /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile C:\oracle\ora92\network\install\netca_typ.rsp
    Configuration tool Oracle Net Configuration Assistant succeeded
    Result code for launching of configuration tool is 0
    Launched configuration tool Oracle Database Configuration Assistant
    Command which is being spawned is C:\Program Files\Oracle\jre\1.1.8\bin/jrew.exe -DORACLE_HOME="C:\oracle\ora92" -DJDBC_PROTOCOL="thin" -classpath ";C:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;C:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;C:\oracle\ora92\jlib\ewt3.jar;C:\oracle\ora92\jlib\kodiak.jar;C:\oracle\ora92\jlib\ewtcompat-3_3_15.jar;C:\oracle\ora92\lib\xmlparserv2.jar;C:\oracle\ora92\jdbc\lib\classes111.zip;C:\oracle\ora92\classes;C:\oracle\ora92\jlib\gss-1-1.zip;C:\oracle\ora92\jlib\oembase-9_2_0.jar;C:\oracle\ora92\jlib\srvm.jar;C:\oracle\ora92\assistants\jlib\assistantsCommon.jar;C:\oracle\ora92\jlib\share.jar;C:\oracle\ora92\jlib\swingall-1_1_1.jar;C:\oracle\ora92\assistants\dbca\jlib\dbca.jar;C:\oracle\ora92\jlib\help3.jar;C:\oracle\ora92\jlib\oracle_ice5.jar;C:\oracle\ora92\jlib\netcfg.jar;C:\oracle\ora92\lib\vbjorb.jar;C:\oracle\ora92\lib\vbjtools.jar;C:\oracle\ora92\lib\vbjapp.jar;" oracle.sysman.assistants.dbca.Dbca -progress_only -createDatabase -templateName General_Purpose.dbc -gdbName orcl -sid orcl -datafileJarLocation C:\oracle\ora92\assistants\dbca\templates -datafileDestination C:\oracle\oradata -responseFile NO_VALUE -characterset WE8MSWIN1252 -passwordDialog true Protected value, not to be logged

  • 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

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

Maybe you are looking for