-->
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.  [ 4 posts ] 
Author Message
 Post subject: Oracle 10g
PostPosted: Fri May 13, 2005 7:05 am 
Beginner
Beginner

Joined: Tue Jan 11, 2005 5:50 am
Posts: 43
Location: Zurich (Suisse)
Has anyone yet used any code generation tool on an oracle 10g instance?

I used the 10.0.1.4 driver but any tool showed different symptoms:

Middlegen could not read constraints, did not realise any PK's ...
Hiberclipse as well.
HibernateIDE got nothing the connection was anytime closed.


Any experiences?

Thanks
Tarik


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 13, 2005 4:07 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
yes i use(d) oracle 10g to develop it on so i know it works ,)

did you remember to set the default schema so it wont take the whole db ?
also remember that the user you login with need enough rights to read the metadata.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 18, 2005 4:56 pm 
Beginner
Beginner

Joined: Tue Jan 11, 2005 5:50 am
Posts: 43
Location: Zurich (Suisse)
Hi Max, thanks a lot for verifying. It was just I did not want to believe that the DDL was set up differently than what I and middlegen guessed :-) Additionally 10g is pretty new to our company and so I was a beta tester somehow.

Well the issue was that, as I understood the schema was sketched in MS Access, well not the best tool I guess, and feeded somehow to Oracle 10g (me no DBA). During that migration Oracle somehow did, or most possibly could not define the PK. Middlegen was not able to do that as well ... all against me .-)

The DBA was so nice and ran my test-environment and figured it out.

Just to tell you the end of the story, I got my hbm's and ran hbm2java, failed. I tried HibernateTools, Hiberclipse and something else, they could not generate the sources (hibernate3 lib'ed). So I went back to hibernate2 to generate the sources and now I am happy, running on on hibernate 3 :-)

Till then
Tarik


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 18, 2005 5:00 pm 
Beginner
Beginner

Joined: Tue Jan 11, 2005 5:50 am
Posts: 43
Location: Zurich (Suisse)
Just to mention that I could not download the latest CVS tree. Is there something I perceived wrong?- is the HibernateTask to do the hbm->java task defined in the latest binary? I could not find it in the binaries.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.