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?
|