Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate Tools 3.1.0.beta5
Name and version of the database you are using:Oracle 9i
Eclipse WTP 1.5 Nightly Build
Eclipse 3.2RC1
I am having a problem where the tool reads the reveng.xml file, obeys the table filters and even complains when there is a schema mistake, but completely ignores the overrides when generating the hbm and java files.
for e.g. in the table override below, i am putting overrides for primary-key etc.
but in the hbm file, the primary key is generated as "long" and with a generator as "assigned"
<table name="OPTOUTSOURCELOOKUP" schema="OSTN" class="com.mypackage.OptOutSourceLookup">
<primary-key>
<generator class="sequence">
<param name="sequence">SEQ_OPTOUTSOURCELOOKUPID</param>
</generator>
<key-column name="OPTOUTSOURCEID" jdbc-type="NUMERIC" property="id" type="java.lang.Long"/>
</primary-key>
</table>
This same file is working for another colleague with 3.1.0 beta4a.. I tried using beta4a .. but gettting the same problem, thought beta5 would help.. but no dice..
I thought it might be an eclipse problem.. so i replaced my eclipse.. even the hibernate tools specific settings from the workspace.. but it doesnt matter..
I am just wondering if anyone else is seeing this..