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.  [ 2 posts ] 
Author Message
 Post subject: Rev. Eng. against Oracle 9i DB, can't get indexes
PostPosted: Wed Jul 25, 2007 3:14 pm 
Newbie

Joined: Mon Feb 21, 2005 9:31 pm
Posts: 4
Location: Colorado
I'm using the latest tools org.hibernate.eclipse_3.2.0.beta9a and hibernate 3.2. Eclipse is set to use Java 1.5.0_12 SDK. I'm trying to reverse engineer a fairly simple schema. When I run the ANT <hibernatetool... with <jdbcconfiguration ...>...> I get the following error on each table in the selected schema.
_________________________________________________________
[hibernatetool] Jul 25, 2007 1:00:38 PM org.hibernate.cfg.reveng.JDBCReader processIndices
[hibernatetool] WARNING: Exception while trying to get indexinfo on RPM.TASK_OCCURRENCE=Exception while getting index info for RPM.TASK_OCCURRENCE
_________________________________________________________

The generated ...hbm.xml looks OK as well as the generated POJO objects. However, the warnings make me cautious about the generation.

Also, in the Hibernate perspective if I click on the database tree icon, hibernate proceeds to inspect each table on the server. I think because of the same exception in trying to get the list of indexes, I have never seen the list of schemas or tables in the tree. The process of going through all the tables really slows everything down - because of the exception.

Has anybody seen this on an Oracle 9i server? Is this a JDBC, Oracle, or Hibernate configuration issue?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 31, 2007 9:48 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
it's oracle - it's flakey in some of the jdbc metadata api.

_________________
Max
Don't forget to rate


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