-->
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.  [ 3 posts ] 
Author Message
 Post subject: Hibernate tools 3.3.1 connect and reverse eng from Oracle 8i
PostPosted: Mon Mar 21, 2016 10:53 am 
Newbie

Joined: Thu Mar 24, 2011 6:28 am
Posts: 4
Hello guys,
crazy days for me...I won the makeover of a an old web app that runs on Oracle 8i.
What I want to do is: reverse eng DB with hibernate and adapt another web app to replace the old one.
Now I'm going crazy with various combinations of JDBC, JDK, JRE, Eclipse, Hibernate and bla bla bla....to be able to reverse eng the database.
So, if there is some good soul who wants to help a martyr, I would be very grateful.

I have Eclipse Galileo 3.5.2 (Build M20100211-1343) set in this way:
JRE: 1.4.2_19 (specific to the project) ....maybe it's wrong?
JDBC: ojdbc14.jar (work with 1.4 (or upper))
Put on my classpath: jdk1.6.0_45
Image

As you can see in the image, the stuff "work", I can browse DB's objects from Data Source Explorer.

The problem is when I try to generate Pojo class from Hibernate Code Generation tool, nothing seems happen.
Image


Where I'm wrong?
Thanks all in advance
S.

23/03/2016: corrected post title


Last edited by seek on Tue Mar 22, 2016 11:30 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Hibernate 3.3.1 connect and reverse eng from Oracle 8i
PostPosted: Tue Mar 22, 2016 10:33 am 
Newbie

Joined: Thu Mar 24, 2011 6:28 am
Posts: 4
After several attempts, I'm at this point:
Configuration
Code:
JRE: jre6
Java Compiler (project specific): 1.5
Project facets:
Java Persistence: 1.0
Dynamic web module: 2.5
Java: 5.0


In hibernate.properties
Code:
hibernatetool.metadatadialect=org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect


But, after all, nothing has changed.
Where are the Hibernate logs? How to enable?

-- EDIT --
Maybe the problem is the jdbc?
Code:
Manifest-Version: 1.0
Specification-Title: "Oracle JDBC driver classes for use with JDK1.4"
Specification-Version: "Oracle JDBC Driver version - 9.0.2.0.0"
Specification-Vendor: "Oracle Corporation" .
Implementation-Title: "ojdbc14.jar"
Implementation-Version: "Oracle JDBC Driver version - 9.0.2.0.0"
Implementation-Vendor: "Oracle Corporation"


Thanks all
Seek


Top
 Profile  
 
 Post subject: Re: Hibernate tools 3.3.1 connect and reverse eng from Oracle 8i
PostPosted: Tue Mar 22, 2016 11:50 am 
Newbie

Joined: Thu Mar 24, 2011 6:28 am
Posts: 4
Ok, solved...had to change the following
Code:
<property name="hibernate.default_schema">users</property>

to
Code:
<property name="hibernate.default_schema">USERS</property>


Seek


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.