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

Similar Messages

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

  • 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

  • Exception "not implemented for class oracle.jdbc.driver.T4CNumberAccessor"

    Hello I'm having some troubles dealing with 'java.sql.Date' I'm working with express edition database and I have three classes(different packages)
    1.Mapper
    2.Objects Class
    3.ConsoleTest
    I need to get an arraylist of objects, some of which contain dates, but when try to do it I get this exception
    "java.sql.SQLException: Invalid column type: getDate not implemented for class oracle.jdbc.driver.T4CNumberAccessor"
    Do you have any idea how I can implement the getDate method for this T4CNumberAccessor
    Here are the methods that I'm using
    1.Mapper
    public ArrayList<Object> getAllTaskAuctions(Connection con)
              ArrayList<Object> l1 = new ArrayList<Object>();
              String SQLString1 = "select * from taskauction natural join tasks";
    PreparedStatement statement=null;
    try
    //=== get taskauctions natural join tasks
    statement = con.prepareStatement(SQLString1);
    ResultSet rs = statement.executeQuery();
    while(rs.next())
    l1.add(new TaskAuction(rs.getInt(1), rs.getInt(2), rs.getInt(3),
    rs.getDate(4), rs.getDate(5), rs.getInt(6)));
    l1.add(new Task(rs.getInt(1), rs.getInt(2), rs.getString(3),
    rs.getString(4), rs.getString(5), rs.getString(6), rs.getInt(7)));
    catch (Exception exc)
    System.out.println("Fail in TaskAuctionMapper - getAllTaskAuctions");
    System.out.println(exc);
    return l1;
    2.ConsoleTest class
    Connection con;
         public Connection getConnection(){
              try{ 
         Class.forName("oracle.jdbc.driver.OracleDriver");
         con = DriverManager.getConnection(
         "jdbc:oracle:thin:@localhost:1521:XE", "Project", "123" );
         //username/password@[/]host[:port][service_name]
         catch (Exception e)
         {   System.out.println("fail in getConnection()");
         System.out.println(e); }
              return con;
         public static void main(String[] args) {
              ConsoleTest ct = new ConsoleTest();
              TaskAuctionMapper tam1 = new TaskAuctionMapper();
    ArrayList<Object> alt1 = tam1.getAllTaskAuctions(ct.getConnection());
    Iterator<Object> itr1 = alt1.iterator();
    while (itr1.hasNext())
    TaskAuction taskauct = (TaskAuction) itr1.next();
    //Problem, exception traced to TaskAuctionMapper
    System.out.println(
              "Task ID: " + taskauct.getTaskid()+ ", "+
              "StartDate: "+ taskauct.getStartdate()+", "+
              "User ID: " + taskauct.getUserid());
         }

    Found the answer, I shouldn't use integers as parameters of column index in the result set, but instead use String to mark the fields :)

  • Does j2me support jdbc for Palm Oracle Lite(8i/9i)

    I have a requirement to develop an application in Java for PALM OS with Oracle Lite 8i/9i connectivity. does j2me support jdbc for Palm Oracle Lite(8i/9i). Please help me to know what all java VM available in the market which have oracle connectivity(jdbc/odbc/whatever) for Oracle Lite for PALM.
    thanks
    dk

    Pleae some one reply, if j2me/kvm supports jdbc/odbc connectivity to oracle lite 9i/8i on palm
    thanks
    dk

  • Accessing Oracle Lite on Palm

    How can I access throught JDBC in a Oracle Lite database running on Palm?

    In my opinion you can only access via ODBC or OKAPI on the Lite-DB on palm.

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • 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

  • 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);

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

  • 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

  • LocationProvider (JSR 179) implementation for GPS on PC

    Hello all,
    Can any one direct me please to a LocationProvider implementation for windows of the JSR-179 location api.
    it seems that each mobile device should have it's own implementation of the LocationProvider. what happens if my mobile device is an ordinary PC running Windows?
    for that matter in need also an implementation for linux...
    It seems so trivial, I just need an implementation that knows to read NMEA protocol out of a COM port....
    it should be simple I feel that I'm missing something... I'm trying to find something for that last 24h and come in vain.
    please help,
    tnx in advanced,
    Shahar Daniel

    I got this email from Kevin Sally:
    Hi Shahar,
    The JSR179 spec/API is meant to be used on Mobile devices with an embedded GPS receiver. However, having said that, if you include the JSR 179 package in your JSE application for a PC, you can use the distance measurements etc that are packaged with the JSR179 package. It seems like overkill though, I am sure there are other open source packages out there that will provide the capability to measure distances between points, etc.
    Basically, you will have to use streaming NMEA data on your serial port to aquire the GPS coordinates as the JSR179 spec is not meant to aquire GPS coordinates from a serial port.
    I hope this helps.
    Regards,
    Kevin
    Kevin Sally, P.Eng
    Certified Senior IT Architect, IBM WebSphere Services
    03/RKN/8200/MKM
    email: [email protected]
    (905)413-5613
    t/l:969-5613

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

  • Enable hyperthreading for virtualized Oracle 11gR2 database (OEL57 64-bit)?

    We are virtualizing our Oracle 11gR2 databases (running on OEL57 64-bit) on Vmware 5.1. I've read information at various locations that hyperthreading is not recommended for Oracle 11g database. One example is here, however, I seen many more:
    http://bryangrenn.blogspot.com/2011/08/hyperthreading.html
    My issue is that Vmware themselves recommends enabling hyperthreading for virtualized Oracle databases in their Oracle Databases on VMware Best Practices Guide.
    Does anyone have any practical experience with this issue that can be shared? What are the advantages and disadvantages of enabling hyperthreading for our virtualized Oracle 11gR2 on OEL57 64-bit virtual machines
    Thanks, Fred
    Edited by: 995752 on Mar 30, 2013 11:26 AM

    995752 wrote:
    We are virtualizing our Oracle 11gR2 databases (running on OEL57 64-bit) on Vmware 5.1. I've read information at various locations that hyperthreading is not recommended for Oracle 11g database. One example is here, however, I seen many more:
    http://bryangrenn.blogspot.com/2011/08/hyperthreading.html
    If you read the comments on that blog you will see that the results are highly dependent on the type of CPU.
    The effects can also be dependent on the nature of the workload: you may have CPUs that are fine with an OLTP workload, but don't scale as you might hope with a DW workload.
    Regards
    Jonathan Lewis

  • Query: to view all users that have been created for access to a database

    Hi,
    Is there a command syntax that we could give to see all the users who have been created for access to a particular database. I want to view all the users that have been created using sql* plus.
    can anyone help or is it impossible?
    Thanks

    This is for begging:
    [email protected]> select grantee, privilege from dba_sys_privs where privilege like '%CREATE%SESSION%
    2 /
    GRANTEE PRIVILEGE
    A CREATE SESSION
    AA CREATE SESSION
    U1 CREATE SESSION
    U2 CREATE SESSION
    BD1 CREATE SESSION
    DBA CREATE SESSION
    EMI CREATE SESSION
    MOB CREATE SESSION
    ODM CREATE SESSION
    OHP CREATE SESSION
    SEC CREATE SESSION
    SYS CREATE SESSION
    TU1 CREATE SESSION
    TU2 CREATE SESSION
    U01 CREATE SESSION
    XDB CREATE SESSION
    MOBI CREATE SESSION
    OHP4 CREATE SESSION
    PFAY CREATE SESSION
    UD01 CREATE SESSION
    UR01 CREATE SESSION
    ADHOC CREATE SESSION
    BATCH CREATE SESSION
    DEBUG CREATE SESSION
    DEV01 CREATE SESSION
    HRAPP CREATE SESSION
    MDSYS CREATE SESSION
    MOBI2 CREATE SESSION
    SKING CREATE SESSION
    SPACE CREATE SESSION
    UPASS CREATE SESSION
    WKSYS CREATE SESSION
    CTXSYS CREATE SESSION
    ORDSYS CREATE SESSION
    PRAC01 CREATE SESSION
    RTABLE CREATE SESSION
    CONNECT CREATE SESSION
    Than you have to select also all the users that have granted roles with this privilege
    this will give you the full set of users who can connect
    Best Regards
    Krystian Zieja / mob

Maybe you are looking for

  • Need help placing tracking script on button click

    Howdy. We're trying to track the button clicks on a landing page we're producing. I've got the "landing page" script in the header via the page properties but now I need to put script on a button that fires when the person clicks the button. Any help

  • Where's the surround sound test program gone?

    With  HD surround sound problems still ongoing for me, i need to run the test program again to try something, but I just can't find it anymore. I've looked in all the obvious places - has it been erased?

  • Creating a vendor

    Hello, I have a question asked by the purchasing department. When they create a new vendor, could the Goods-receipt-based inv.verif. check and the currency come automatically? as if saved as a variant? If the currency is different, then they'd change

  • Archivelog off - then back on again.

    Greetings , I was asked to turn off archivelog and flashback a few days ago and since the database collectors would not be talking to the database when these features were turned off I complied. Now I suspect in the next day or so they will finish th

  • Is CYMK accurate in Photoshop and weird in Google Chrome?

    I'm planning on ordering some business cards online. They require CYMK files. When I uploaded it to their website and preview it, they look completely different in my Google Chrome than in my Photoshop. In Photoshop, it looks like this. http://tinypi