Managing a single Oracle Lite database file

Hi,
I was wondering if there's the possibility of using a single database file of Oracle Lite just like it can be done with SQL Server CE. At the moment, I'm using the SQLCE driver of .NET to manipulate my SDF file (SQLCE database for Pocket PCs) without using a SQL SERVER Merge replication; however, I was trying to change my SQLCE database to an Oracle Lite database without using the whole replication thing. I've already installed the whole Oracle Lite 10g kit but it seems it's necessary to create some DNS (that I don't fully understand :S) and that's not what I'm looking for. I hope my explanation isn't that vague and ambiguous. Thanks in advance.
Best regards,
César C.

See Connection string  and DSN
It appears that c:\windows\polite.ini c:\windows\odbc.ini need to be installed. odbc.ini must contain the DSN entry for your DB.
Note you can create/modify these files when you install you application that uses Oracle Lite. If you happen to have an application that dynamically creates the DB then you can reuse the one DSN entry for multiple DBs. Just provide the DB location in the connection string along with the DSN reference.
string dbpath = Path.Combine(
Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath), "Oracle");
string constr = string.Format(@"DataDirectory={0};Database={1};DSN={2};uid=system;pwd=manager",
dbpath, DB, DSN);
OdbcConnection cn = new OdbcConnection(constr);

Similar Messages

  • Client Upgrade issue in Oracle Lite Database 10g 10.3.0.3.0

    Hi all,
    Details: My Environment is Oracle Database 11g R1(11.1.0.6.0) With Oracle Lite Database 10g R3(10.3.0.3.0) on Windows 2003 Server R2 SP2.
    Recently i have upgrade my oracle lite database from 10.3.0.2.0 to 10.3.0.3.0 and also applied recent opatch (p12812978_103030_Generic.zip). Upgrade and installation of opatch got successfully completed. When i tried the client synchornization for the very first time (FCS and Data Download) FCS and Data Download got Successfully completed but the problem is usually Once the FCS and Data Download Got Completed , Screen goto webtogo home page but in my case i am getting a screen name called "client upgrade" with options yes or no if choose yes it prompting please wait screen nearly for 1 hours i am not getting any response from the screen. if choose no simply it goto my webtogo home page. Please Note before choosing the yes option i have checked what version i am currently having it show 10.3.0.3 i don't know why it asking for the client upgrade. Please Advice me on this how to avoid this screen (Client Upgrade).
    Thanks
    Shan

    Hi,
    i am not upgrading the existing environment of Oracle Lite Client i am creating a new environment which doesn't have the Oracle Lite Client. In the document itself they have mentioned like this "These steps assume that you have a 10g Release 1 or 2 Branch Office environment already configured and synchronized. If you do not have this environment currently configured, you do not need to upgrade." To be Clear What i am doing is with help Oracle Lite Branch Office i will be downloading a user from Mobile Server for that i have to do the following
    1.FCS(Fresh Client Setup for that i have to run the setup.exe which is coming for Oracle Lite Branch Office) and
    2.Data download (Data will be get download from Mobile Server in the form of odb),
    3. Usually Once the FCS and Data Download got completed, the screen will goto the webtogo home there i can see my branch offlice applications.
    4. But in my case i am getting prompted by screen and the screen name called "Client Upgrade" with options yes or no if i choose yes screen got hanged else if i choose no then only screen moving the webtogo home page. Say can u r having existing environment in your machine due to some reasons u have upgrade or u have installed optach on the mobile server in that case while doing the client synchronication we can do the client upgrade by running the update.exe becasue client side will having the old binary file we need to renew it.
    5. But I am not upgrading the existing environment. I am creating a new environment which means i am doing a fresh client setup and synchronization for the very first time. While doing the FCS on my client side for the very first time i will be getting the latest binaries rite then why the screen is moving to client upgarde page i don't have any idea on this.
    Please Advice.
    Thanks
    Shan

  • Error in Oracle Lite Database connection

    Hi,
    I have installed the Oracle Application server 10.1.3.1.0 on my laptop (basic installation).
    I tried to define a database connection in the JDeveloper connection navigator to the Oracle lite database. When I test the connection I got an error:
    "Internal Error:Invalid Connect String".
    I have defined in the connection tab of the Edit database connection in the following way:
    Driver class: oracle.lite.poljdbc.POLJDBCDriver
    Library: OLite
    Classpath: C:\product\10.1.3.1\OracleAS_1\bpel\lib\olite40.jar
    URL: jdbc:polite4@localhost:100:orabpel
    Could anyone tell me which user and password I should define for the oracle lite database which is delivered with Oracle Application server 10.1.3.1.0?

    Hi,
    Did you start the SOA suite on your workstation?
    If so, can you reach the BPEL Console
    if so, check via Enterprise Manager the connect string in the OC4J instance of BPEL (oc4j_soa -> administartion -> JDBC > conenctions, or data-sources.xml)
    Copy the connect string into your OLite config if it works

  • Oracle Lite database Standalone?

    Is it possible to install Oracle Lite Database on a Laptop without installing any Mobile Server. We just need a good database management system for the client, we don't need a Mobile Server.
    Maybe there are some other solutions from Oracle?!
    Regards Robert

    Oracle Lite requires an installed mobile server. The mobile server also requires a Oracle Database Standard (minimum). You need at least 5 oracle standard licences and 2 oracle lite licences (germany conditions).
    The Oracle Lite IS NOT a standalone database! A normal Oracle Database Server (Standard or better) is required to hold the repository. Simply start the lite server on a client device and connect to the lite server on this device would be wishful... but it is impossible. So you cannot use your preferred IDE/RAD/DB tools directly against this "database".

  • How to create a table in Oracle Lite database?

    Hi,
    I have installed SOA 10.1.3 on my laptop. Now I am trying to create a table in the database to do some own examples. I have problem in installing oracle database. So I am trying to create a table in Oracle Lite database which comes with SOA suite. I am not able to do it, can some body suggest me please?
    Regards
    Khaleel

    HI James,
    Thank you so much. I am able to create table and insert rows and able to select them too. However I am not able to use these tables in my BPEL process for my practice. The DB adapter is throwing some error, any idea?
    --khaleel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Converting between tables in an Oracle Lite Database

    We have a standalone application that uses Oracle Lite. A requirement we have from a new customer is to use their Oracle Lite database structure or to come up with a mechanism that sends the data between the 2 different structures.
    Both the structures reside in the same database.
    Initial thoughts were to write triggers on both structures that convert the data or to use XML / XSL and treat them as seperate apps.
    However, I'm wondering if there is a different way. Do Oracle provide any tools that can help with mapping between 2 different structures that hold the same domain data?
    Anyone got any better ideas?
    Cheers, Matt

    We have a standalone application that uses Oracle Lite. A requirement we have from a new customer is to use their Oracle Lite database structure or to come up with a mechanism that sends the data between the 2 different structures.
    Both the structures reside in the same database.
    Initial thoughts were to write triggers on both structures that convert the data or to use XML / XSL and treat them as seperate apps.
    However, I'm wondering if there is a different way. Do Oracle provide any tools that can help with mapping between 2 different structures that hold the same domain data?
    Anyone got any better ideas?
    Cheers, Matt

  • JDBC API ( JSR 169 ) Implementation for accessing oracle lite database

    We are developing an application using IBM J9 (CDC and Foundation Profile) on Pocket PC 2003 environment with SWT as the front end development. We are using Oracle Lite 9i as the Client database.
    We have sucessfully installed Oracle Lite and was able to create tables in the database.. however we could not find the JDBC API (java.sql and javax.sql packages which is JSR 169 JDBC 2.0/3.0) inorder to load the JDBC driver(OLITE40.jar) and access the oracle Lite Database on Pocket PC.
    IBM J9 Micro Environement does not have this support.
    I am wondering if Oracle provides this implementation.
    If not is there a get around.
    the client database is crucial to the application and i would really appreciate an answer to our problem.

    Check out
    http://groups.google.com/groups?hl=en&lr=&threadm=cjgl3g%248hhm%241%40news.boulder.ibm.com&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26group%3Dibm.software.websphere.studio.device-developer
    I have had the same issue before.
    Regards,
    Ron

  • Oracle lite database username and password

    Hi,
    I have a database file doe.odb and dsn is doe. When I tried connecting database using default system/manager userid/password I got following error:
    pol-5150 access violation.
    I used following command to connect to the database:
    msql system/manager@jdbc:polite:doe
    Actually I do not know the original userid and password used to create database. There are thounsands of records in the database file. The developer before me did not left any clue about userid and password.
    Is there any way to connect this database?
    Is there any way to recover userid and password?
    Best Regards,
    Wajih

    The username is the username of the device user. So, lets say JOHN is your user and SAMPLEDB is your application, JOHN's password is TEST123. The connection would be
    msql system/test123@jdbc:polite:john_sampledb
    What materials have you gone through for Oracle Lite?

  • Problem when copying over the Oracle Lite DB Files...

    Hi All,
    i have installed oracle Lite 10g on my desktop and created a Database and then created a user on it.
    when i created all of that, it created two files: one which is a .odb (datbase file) and .opw (password file).
    the opw files has encrypted info about the user that i created on the DB.
    i am trying to port my entire application on to a laptop.
    so i install oracle lite 10g on it and then copy over these Datafiles (.odb) and password (.opw) file.
    i make the neccesary entries in the ODBC.ini file.
    now when i try to msql into the database it gives me an POL-5150 Access Violation error.
    any clue as to why it does not let me login.
    I Tried logging in both as the system user and the user that i created on the DB.
    any help would be great.
    i can login into the DB on my Desktop with the same username/password. no issues there. the issue is when i copy those files on the laptop.
    thanks,
    Milind

    Make shure that this file is in a folder that is in your path.
    to check this check your path (form cmd prompt typ set path) en search your hard disk for occurences of olod2040.dll.
    On my desktop the file is in C:\oracle\olite\Mobile\Sdk\BIN, this folder is also part of my path.
    normaly the file can also be found in C:\mobileclient\bin or whereever you installed the mobile client. I once noticed that deinstalling the sdk gave me the same error, the path was not set correctly when deinstalling.

  • Access Oracle Lite database on CE

    Hi Eric,
    Thank you for your help, but I have already tried using SLQplus
    and Oracle Lite Navigator, and it works !
    I have no problem accessing the POLite demo database (on my
    windows CE) from my desktop. But the demo program REPSVR shipped
    with Oracle Lite on CE doesn't work at all...
    I've tried the 3 solutions : Disk File, HTTP, and OMA replication
    but the only problem is that the program cannot access to the
    database !
    I'm sure that :
    _HTTP, OMA and Disk File Replication work because I've tested it
    fom a remote location on my network.
    _the connection to the database server (an Oracle 8.0.5) works.
    _The ODBC.INI is also well configured (by default with the DSN
    POLite and the DSN CE pointing to the database POLite).
    So the only reason possible is the connection to the local
    database.
    I was also unable to use the ODBINFO to test POLite...
    I've carefully studied the doc, but no other procedure to test
    the database is described...
    It's very frustrating because I'm just one step before
    succesfully validate Oracle Lite for Windows CE for my company !
    If you have other ideas (other than going right into the code of
    the REPSRV demo !!!), I woul greatly appreciated...
    Thanks.
    Hi Olivier,
    There are a few things you can try. Connecting using ODBC is probably
    the easiest way. You can either use sqlplus or the Oracle Lite Navigator
    tool that comes with 8i Lite. Use a connect string of:
    ODBC:CE
    If you have more problems, you can try posting them on the Oracle 8i Lite
    discussion group, located at
    http://technet.oracle.com
    Hope this helps,
    Eric
    Olivier Davant wrote:
    I am not able to access my demonstration database (of Oracle
    Lite) on
    Windows CE.
    Can anyone tell me a procedure to check where is the bug ?
    Like : 1) check that all files are present
    2) use an ODBC test...
    Thank you.null

    If you are using OLite, you should use the OLite .NET provider:
    http://download-west.oracle.com/docs/cd/B14156_01/doc/B13788/html/toc.htm
    Look at Chapter 6 and 11, which cover ADO.NET data access.

  • How to setup management server in oracle 10g database

    guys,
    i've installed oracle 10g database into my machine. but i don know how to setup the management server (for scheduling owb10g process flows). unlike 9idb, we have an option emca to setup the management server. if anyone of u knows abt it, please help me. do i need to install the grid control just to have the scheduling mechanism? please advice.

    Well, it depends heavily on what operating system you're using, what mail server you're trying to install, your network topology, etc. Realistically, this is a question that is probably better asked in a forum for whatever mail server you're trying to install...
    Justin

  • [pol-5150] access violation in oracle lite database

    Hi,
    I am trying to connect to oraesb schema and getting the following error.
    [pol-5150] access violation.
    \\msql system/manager@jdbc:polite:orabesb is also failing.
    Basically I am trying to connect to SID oraesb in jdev.
    can someone help me on this.
    Regards
    Lalit

    Hi Lalit,
    I was also facing the same issue recently. However, I did some hit and trial and could finally resolve it.
    Here is what I have done. Please verify if it is of any help to you.
    Connection 1
    =====================================================
    Connection-> OliteESB
    Connection Type-> Oracle lite
    UserName->system
    password->any
    hostname->localhost
    JDBCPort->1531
    SID->oraesb
    Driver class oracle.lite.poljdbc.PLOJDBCDriver
    Classpath->C:\product\10.1.3.1\OracleAS_1\integration\esb\\lib\olite40.jar=====================================================
    Connection 2
    =====================================================
    Connection-> OliteBPEL
    Connection Type-> Oracle lite
    UserName->system
    password->manager
    hostname->localhost
    JDBCPort->1531
    SID->orabpel
    Driver class oracle.lite.poljdbc.PLOJDBCDriver
    Classpath->C:\product\10.1.3.1\OracleAS_1\bpel\lib\olite40.jar
    =====================================================
    You can use any of the directory above for setting the classpath for olite40.jar.
    If you create two connections as above it would take only one entry for the olite40.jar that was set most recently.
    I think it has something to do with the password and SID for the username.
    Thanks.

  • Oracle apps configuration required to install oracle lite database

    Hi,
    Can any one suggest me the oracle apps setups and configuration required for installing the oracle lite databse in my laptop.
    The olite databse must sink with my existing oracle apps.
    thanks in advance...

    user596857 wrote:
    Dear Experts, (I'm far from expert, but I possess enough shreds of knowledge to answer your question, so here goes. ;-) )
    1a)
    My server has Oracle version 11.1.0.6.0, but the matrix says it wants 11.1.0.7.
    I should get a warning right?
    Can I just proceed with the install, over-riding the warning?
    1b)
    If so, what is the procedure to install into the existing database?
    It wasn't obvious in the (150 page) install docs. The EBS install delivers its own ORACLE_HOME for the database. There isn't an option to install into an existing database as far I know. The installer will ask where to put the new ORACLE_HOME for the EBS database. You might get a warning if you try to install to a pre-existing ORACLE_HOME, and I don't recommend ignoring that warning. The result will either be ugly immediately or, even worse, ugly later when it's harder to figure out why. ;-)
    Do an upgrade?Won't really help. The ORACLE_HOME that's bundled with the installer usually comes with additional patches pre-installed, as well as EBS-friendly configuration options. You're much better off taking what it gives you so you can get down to the real fun of learning EBS. :-)
    Or, do regular install, but not Express/Rapid Install?I recommend doing a Vision install for learning EBS.
    Can I choose not to install the database software?Nope (unless my memory is really that bad), and there's no real benefit to doing so. All you'd save is a couple GB of disk, and as a percentage of the total install footprint of EBS, the database ORACLE_HOME is relatively tiny.
    Regards,
    John P.
    http://only4left.jpiwowar.com

  • Oracle lite message file not loaded

    Hi..
    I'm not getting the proper error messages listed for the POI - error messages. It throws out "message file not loaded". do I have to run/update any scripts manually. please throw me some light

    Hmmm...
    is Your olite40.msb file missing somehow?
    You need it since all error messages for the POL Error Numbers can be found in there.
    I think it has to be in Your PATH.

  • Date format for oracle lite client database

    hello....
    When data is entered opened on the oracle lite webtogo OC4J client is giving the following errors:
    JBO-25009: Cannot create an object of type:java.sql.Date with value:2/21/08 12:00 AM
    JBO-27014: Attribute CreationDate in AppModule.ApplicantIncomesView1 is required
    JBO-27024: Failed to validate a row with key oracle.jbo.Key[85685 ] of type AppModule.ApplicantIncomesView1
    Which date format is supported on the OC4J client?The application has been developed using Jdeveloper JSF/ADF BC technology.

    user6998712 wrote:
    Hi all,
    My client has installed Oracle Lite version 10.3.0.3. Oracle Lite Database file (ODB) tends to grow too large. Oracle recommends resizing the Oracle Lite database by running Defrag.exe tool. please post URL where this is documented

Maybe you are looking for

  • How do I find out what the correct tag information is for a TV series I purchased through the iTunes store?

    Right now I have episodes that should be in their own grouping mixed up with others and I would like to get them seperated.  It's the Doctor Who series if that makes a difference.  Specifically the specials which don't quite fit into a season and wer

  • Exporting Sequences to Quicktime Pro??

    Hi, I'm making a movie that's around 51 hours long so I've created 6 sequences that I need to export to Quicktime Pro, then join them together there. So my question is, how should I export the sequences to get the best quality, through compressor, as

  • Multiple triggers for single popup

    Maybe it is dumb question to ask... sorry if that is so but... Is it possible to have several triggers in different parts of page for the same action? E.g. I want to open one lightbox by means of five different buttons. How to do that? Thanks.

  • Security:   use of authorizations

    We have several fields that we secure on and they are used in multiple cubes but the security is not checked in each cube.  For example, company code is in HR cubes and financial cubes.  The main HR security is on country grouping/personnel area and

  • Question with uix:dateField tag

    hi, I am trying to use the dateField tag of uix. when we write the dateField tag as <uix:dateField /> it creates a calender. but when I click on the calender nothing shows up. In the tag Itself there are various attribs like the destination, minValue