-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
 Post subject: Oracle Lite Support
PostPosted: Thu May 05, 2005 12:57 pm 
Newbie

Joined: Wed May 04, 2005 3:54 pm
Posts: 4
Has anyone successfully used hibernate with oracle lite 10g (previous version whould be good as well)? Is it supported in hibernate? If so, what jdbc driver should I be using?


Thanks in advance,

G.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 05, 2005 1:53 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
afaik oracle lite is just oracle with all the fancy features removed....so it should work with a normal oracle jdbc driver. (but i havent tested)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 05, 2005 3:18 pm 
Newbie

Joined: Wed May 04, 2005 3:54 pm
Posts: 4
max wrote:
afaik oracle lite is just oracle with all the fancy features removed....so it should work with a normal oracle jdbc driver. (but i havent tested)


it uses a different jdbc driver which should be olite40.jar, it also uses different connection urls ... anyway when I set as jdbc driver in hibernate configuration oracle.lite.poljdbc.POLJDBCDriver and I start the demo "build eg" it says that it can't find the driver with a ClassNotFound;

adding olite40.jar to the classpath in the build.bat file, results in a HibernateException class not found for the driver

If I setup hibernate to use sun.jdbc.odbc.JdbcOdbcDriver instead, it finds the jdbc driver starts the demo but fails on one of the first lines with an ODBC error (IIC S1007)

Pleasse feed back to me.

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 05, 2005 4:16 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
you need to read the docs on how you specify the jdbc driver for running eg.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 05, 2005 5:46 pm 
Newbie

Joined: Wed May 04, 2005 3:54 pm
Posts: 4
max wrote:
you need to read the docs on how you specify the jdbc driver for running eg.


Download Hibernate and extract the archive
place your JDBC driver jar file in the lib directory
edit etc/hibernate.properties, specifying values for your database (Hibernate will create a schema for the demo automatically)
from a command prompt in the install dir
if you have Ant installed (and copied antlr.jar and junit.jar to ANT_HOME/lib), type ant eg
if not, type build eg under Windows
the example should run successfully

that's what I read. And what I did... but I encountered the problems I wrote before.

Anyway part of the question is still unanswered: has anyone sucessfully used hibernate with oracle lite (10g) ?


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 05, 2005 10:25 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
I gave up on even trying Oracle Lite years ago. It may work out but you are likely going to come across something does not work or is not present that you need. Sorry this does not help your problem but I would not use it.


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 06, 2005 6:17 am 
Newbie

Joined: Wed May 04, 2005 3:54 pm
Posts: 4
david wrote:
I gave up on even trying Oracle Lite years ago. It may work out but you are likely going to come across something does not work or is not present that you need. Sorry this does not help your problem but I would not use it.


Indeed it helps me, since now I know I'd have to switch over oracle full version without losing more time with lite (which is far more easier for an univerisatry student like).

Thank you all and best regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.