Hibernate and Oracle Lite 10g

Has anyone been able to get Oracle Lite 10g working with Hibernate?

What problems are you having? You are using Webtogo OC4J right?
It has been a while since I worked with Hibernate and in theory, it should work with any relational database. Since Oracle Lite closely resembles Oracle, I can't see an issue with the database, just the container that it is running in.
<property name="connection.driver_class">oracle.lite.web.WTGJdbcDriver</property>
<property name="connection.url">jdbc:oracle:webtogo</property>
<property name="connection.username"></property>
<property name="connection.password"></property>

Similar Messages

  • How to connect using netbean 6.5 and oracle lite 10g

    Hello everyone.. I am really really new in this kind of thing. My task is that I need to develop a simple system using netbean and oracle lite 10g..Does anyone can at least give me a little bit tutorial for a head start in order to connect them.. I really appreciate for those who answer this.. Thank you guys...

    you mean to connect from java to oracle lite server or client?
    -if it is server you mean then you probably need to run some oracle apis (e.g. the consolidator aps).
    String url="MOBILEADMIN/123@jdbc:oracle:thin:@MYSERVER:1521:MYDB" ;
    ResourceManager.initialize(url);
    rm = ResourceManager.getInstance();
    User usr = rm.getUser(user);
    for (Enumeration e = usr.getDevices(); e.hasMoreElements();) {
    Device dev = (Device)e.nextElement();
    }//AND you may continue from here in order to send commands to the devices
    -if you have a oracle repository at the back end and you want to connect to that then you can connect like:
    DriverManager.registerDriver ((Driver)Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance ());
    String url="jdbc:oracle:thin:@myserver:port:database;
    c=DriverManager.getConnection( url,"username", "password" );
    s=c.createStatement();
    s.executeQuery("Select TRIM(CODES) AS CODES,TRIM(SURNAME)||'_'||TRIM(FIRSTNAME) AS NAME from MYDB.USERS");
    ResultSet rs =s.getResultSet();
    -now if you want to connect to the oracle lite client database then you may connect using the polite
    you should write something like (i havent tried it because i use handheld clients)
    String ConnectMe=("jdbc:polite:SCOTT/tiger:polite;DataDirectory=c:\Oracle_Home;Database=polite;IsolationLevel=SINGLE;USER;Autocommit=ON;CursorType=DYNAMIC")
    try {
    Connection conn = DriverManager.getConnection(ConnectMe)
    catch (SQLException e)
    (check the internet for jdbc:polite connection strings)
    gl

  • Creme 4.0 and Oracle Lite 10G

    Hello Everybody,
    i´ve developed an Oracle Lite app that works fine on my Laptop, but now i want to deploy it on my pocket PC running windows mobile 2003 (XCale processor) with CrEme 4.0 JVM.
    What do i need to do to put it to work?
    Can anyone send me a .lnk file so that i can use as an example??
    Regards,
    Paulo

    48#\Windows\CrEme\bin\CrEme.exe -Of -classpath '\pp_app\simpleapp.jar' SimpleApp
    in the Oracle lite manual you can read:
    When using the CrE-ME 4.0 JVM, use the DriverManager class to connect to an
    Oracle Lite Database.
    For example, use the following:
    politeConnection = DriverManager.getConnection(DSN,UserName,Password);
    To run a sample class ExampleClass, part of ExamplePackage.jar, use the
    following command at the CrE-ME command prompt:
    48#\Windows\CrEme\bin\CrEme.exe -Of -classpath \orace\olitejdbc40.jar;\orace\msync.jar;\ExamplePackage.jar
    ExampleClass

  • Unable to install Oracle Lite 10g on Windows 7 64-bit

    I've tried installing Oracle Lite 10g on my Windows 7 64-bit computer but I get a message saying "JDK is not installed on machine". I even have Java installed on my computer too.
    Any ideas what could be causing the issue?
    Thanks
    Gareth

    Oracle lite 10g is not supported on Windows 7.    The core issue is you are running on an unsupported platform.
    You have may have to go in the docs and figure out what JDKs were supported, i think 1.4 and 1.5. and try
    installing one of those and maybe you can get uninstall to work.   This is just a guess though.
    thanks
    mike

  • Creating table in oracle lite 10g

    Hi,
    I believe the following is the way to create a database table in Jdeveloper 10g and Oracle BPEL process Manager 10.1.3.1.0
    1.Created bpel project--> right click project ---> create schema---> right click schema---> create table(completed the wizard and created schema and table)
    2.Right click schema ---> new---> database tier---> offline database objects ----> SQL generated from offline database objects(and then complete the wizard)
    If the above is the correct approach to create the table, then I am facing two situations.
    a. In the project properties(offline database), if the 'database to emulate' is set to oracle lite 10g release 1, then "SQL generated from offline database objects" option is not enabled to choose in the step 2 above. So I cannot proceed further.
    b. If the 'database to emulate' is set to oracle database 10g release 2 (this is default), "SQL generated from offline database objects" in step 2 is enabled, but in the wizard that follows, when I tick 'perform operation against the database' it asks me for oracle database connection settings. But I only have the Oracle 10g Lite version and not Oracle database 10g. So I am not able proceed further.
    All I need is to create tables in the Oracle Lite database that I have.
    Any help on this issue will be greatly appreciated.
    -Sagar

    While waiting for an answer here ... you may want to investigate the Oracle Lite forum at Database Mobile Server (inc. legacy Database Lite)

  • Efragdb.exe in Oracle Lite 10g R3

    We have the following situation when working on Oracle LIte 10g R3. We used defrag.exe with a database created in Oracle Lite R2. During the "Dumping Triggers" phase, it shows the error message "Wrong trigger type 34 for trigger TRIG_INSUPDPVDETPAGCAJ.". The refered trigger is based on a java procedure, and it was created in the source database without errors.
    If we drop the trigger and defrag.exe is run again, the "Loading Extents" phase show the error message "Invalid opcode: 65!!!".
    I will appreciate any suggestion about this.
    Monica Bancayan

    Please open a service request with Oracle Support.
    Olaf

  • Unable to Install oracle lite 10g mobile server on windows

    Hi all,
    Basically I am a .net developer, i want to explore Oracle Lite 10g mobile database.
    for that I am trying to install Olite 10g Mobile server on my windows system it is installing upto 95%, after that nothing is happening. it is not giving any error message.
    even i waited for 5 to 6 hours then also it is at the same stage.
    In my sytem JDK 5.0 is there and Oracle Database 10g Express edition is also there.
    Please help me on this issue.

    i know that this might be silly but have you checked the guide for the installation and made sure you have all the preq?
    please check
    http://download.oracle.com/docs/cd/E12095_01/nav/portal_booklist.htm
    please check the getting started guide and especially chapters
    3 Requirements Before Installation or Development
    4 Installation of Oracle Database Lite
    i have seen that it says:
    3.3.2 Certified Oracle RDBMS to Use With Oracle Database Lite
    Use one of the following database versions with Oracle Database Lite: Oracle 9.2, Oracle 10g Release 1 (10.1.0), Oracle 10g Release 2 (10.2.0), or Oracle 11g.
    i dont know if the express edition is supported correctly.

  • Upgrade Oracle Lite 9i to Oracle Lite 10g rel3

    Can you please advise me on the effort and impact in attempting to upgrade Oracle Lite 9i to Oracle Lite 10g rel3 ?
    Thank you.

    I did an upgrade to 10G rel2 and database is running fine

  • Oracle Lite 9i to Oracle Lite 10g upgrade

    Can you pls advise on the effort and impact in attempting to upgrade an application now deployed in Oracle Lite 9i to Oracle Lite 10g rel3

    I did upgrade to 10G R2 and the database is running fine. Working on 10G R3 upgrade.

  • Is oracle lite free or is there any license for Oracle Lite 10g for product

    Is oracle lite free or is there any license for Oracle Lite 10g for production use ??
    -Thanks-

    Please note that Oracle Lite is no longer being actively developed, and no further releases are planned. The recommended small footprint database from Oracle is Berkeley DB.
    http://www.oracle.com/technetwork/products/berkeleydb/overview/index-085366.html
    Eric

  • Oracle Lite 10g

    Hello,
    does spatial work with oracle lite 10g, is it possible to build mobile spatial application with oracle database?
    Thank you

    I have looked into this and believe that it is possible as follows.
    1. Add to you database table a CLOB field (supported by Lite) and have
    it contain a textual description of the SDO_GEOMETRY. Two formats
    are possible: SVG and WKT. I prefer SVG as then the mobile client
    gets a styled version of the shape that it can use in the PDA application
    without the need to worry about styling.
    2. You need table level before insert and update triggers that will convert
    from your CLOB <-> SDO_GEOMETRY. (I did this for my previous employer
    using SVG and SDO_GEOMETRY and could get the code for you to use.)
    Thus it doesn't matter is the Lite application creates/updates a shape or
    a "GIS" application creates one: both are kept in sync via the trigger.
    3. You then use Oracle Mobile to extract and return the data between Lite
    and the DBMS.
    4. In the client PDA you then purchase an SVG toolkit from one of the commercial
    vendors (or use Batik or SharpVectorGraphics in open source) to display
    the data in the Lite database.
    5. You also purchase a GPS control (or use open source) to communicate
    with a GPS for navigating to or capturing new data from it.
    My former employer is investigating use of Lite as a field recording tool.
    I hope to provide input into this project over time.
    Simon Greener
    Independent GIS Consultant
    Allens Rivulet Tasmania
    Australia
    Longitude: 147.2048
    Latitude: -43.0141

  • JDeveloper 9.0.5 apps with Oracle Lite 10g

    Hello:
    Has anyone else attempted to develop an ADF UIX Struts Web application using JDeveloper 9.0.5 and deploying the application to an Oracle Lite 10g Webtogo environment. We have a need to have offline activity on the client machine, storing the data in an Oracle Lite 10g database, until the user can connect to a database server for a synchronization cycle.

    Jim,
    We didn't certify JHeadstart against the production release of JDeveloper 10g (9.0.5.1)yet. The document that you probably used refers to the preview release of JDeveloper 10g.
    We are in the process of certifying and didn't make our initial planning. We are struggling with some last issues. We will keep this forum informed about the new release.
    Regards,
    Ton van Kooten
    JHeadstart Team

  • What are the major differences between oracle 10g and oracle express 10g

    Hi
    Can anyone tell, What are the major differences between[b] oracle 10g and oracle express 10g.
    Or if you know any URL, then please do let me know.
    Advance Thanks
    JC

    Dear sir,
    here it is.
    http://www.oracle.com/database/product_editions.html

  • Compatability between Forms 6(Forms 6i also) and Oracle Database 10g

    Hai All,
    I want to know Any Compatible issue between ORACLE FORMS 6 (ORACLE FORMS 6i also ) and Oracle Database 10g .
    Any special patches, parameters needed?
    Any white paper describing this document.
    Please help?
    shiju

    Forms 6i Patches pre 16 and 10g databases - many problems
    Forms 6i Patch 17 - 10g DB Rel.1 - certified
    Forms 6i Patch 18 - 10g DB Rel.2 - certified only for E-Business-Suite-user

  • JDeveloper 11g and Oracle XE 10g

    Hi, We are beginner in JDev. and ADF and Oracle as well.. we are developing a PENSION software for an organization as an Internee ... we have a less time and our timelines are getting close ..Whenever We Insert into the database it overrides the previous record .. we are using this tutorial Developing Rich Web Applications With Oracle ADF http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_55/jdtut_11r2_55_1.html but at the end Its run and update in JDEVELOPER MODEL TESTER but cannot update in JSF page in Web browser and cant update in XE database also
    we also follow instructions in these 2 blog posts
    JDeveloper 11g and Oracle XE 10g and have done the commit button and have done changing its properties
    please respond earlier
    REGARDS

    We are using JDeveloper and Xe database ( 11g R2 ) , Oracle ADF , Xe database
    how have you configured your commit button : JDeveloper 11g and Oracle XE 10g
    and how are you instering a row : ->> When we insert in JDEV debug app.tester it will work fine and also make changes to XE DB as well , but when we RUN app in Browser and add a field or record it will override the previous one
    Edited by: 844290 on Aug 30, 2012 10:53 PM

Maybe you are looking for