Index   Search   Add FAQ   Ask Question  

Personal Oracle Light (POL) FAQ

$Date: 10-Nov-1998 $
$Revision: 1.0 $
$Author: Frank Naudé $

Topics

  • What is Personal Oracle Light?
  • How compatible is Oracle Lite with the standard Oracle Server?
  • How does one connect to a POL database?
  • How does one write Java Stored Procedures?
  • How does one replicate data using Oracle Lite?
  • Any other Oracle Lite tips?
  • Where can I find more info about POL?

  • Back to Oracle FAQ Index

    What is Personal Oracle Light?

    Personal Oracle Light (POL) is a lightweight, single-user object/relational database that runs on desktops, laptops, down to the smallest hand help devices. It is designed for mobile and distributed applications. Some of the main features are:

    NOTE: One must download and install a Java VM from the JavaSoft web site before all Oracle Lite components can work properly.

  • Back to top of file

  • How compatible is Oracle Lite with the standard Oracle Server?

    Although code compatibility is very high, the following features are not supported in Oracle Light:

  • Back to top of file

  • How does one connect to a POL database?

    To connect to a POL database, the username is typically SYSTEM (with POL v2.4 the default username is OOT_SCH). The password is ignored as the POL database is initially not password protected, but must be specified for SQL*Plus. The connect string should be ODBC:data_source_name. The "ODBC:" tells SQL*Plus that this is not a SQL*Net connection, and that it must use the Oracle Open Client Adapter (OCA) to access the database.

    The following command line is used to access the default starter database via SQL*Plus:

  • Back to top of file

  • How does one write Java Stored Procedures?

    Step 1: Create the Java Class and Methods in a file

    In this example we will create a Java class "EMPL" in a file called EMPL.java to implement the get_sal method:

    Step 2: Attach the Java Class to the Table

    Step 3: Execute the Method

    To execute the get_sal method from SQL*Plus:

    To execute this method from ODBC:

  • Back to top of file

  • How does one replicate data using Oracle Lite?

    Oracle Lite supports read-only and updatable snapshot replication.

  • Back to top of file

  • Any other Oracle Lite tips?

  • Back to top of file

  • Where can I find more info about POL?

  • Back to top of file

  • General: Home | Index | Preamble | Glossary | OraCorp | Papers | Fun | News | Events | Y2000 | Books | Links | Forums
    Products: SQL | Plus | Loader | PL/SQL | PreComp | OPO | OMO | OO4OLE | DBA | PQO | PSO | OCO | Net | ODBC | WebServer | Des2k | Dev2k
    Systems: MVS | Unix | Windows | WindowsNT | NetWare | VMS