Hibernate version: Hibernate Tools Plugin for Eclipse (3.2.0GA.)
Name and version of the database you are using: Oracle 10j
We're using the latest
Hibernate Tools Plugin for Eclipse (3.2.0GA.) and we're reverse engineering our hibernate.cfg.xml file, unfortunately, the generated file contains the following settings that we need to suppress:
Code:
<property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="hibernate.connection.password">shhhhhh</property>
<property name="hibernate.connection.url">jdbc:oracle:thin:@server.domain.com:1542:SID</property>
<property name="hibernate.connection.username">my_schema</property>
<property name="hibernate.default_schema">my_schema</property>
We reverse-engineer out of our DEV environment so we need to put these in the hibernate.cfg.xml file used during the reverse-engineering process but we don't want them in the final file because we use a Data Source in our J2EE container at run-time and because these connection information represents a security risk.
Note that the connection information is undesirable but at least it's not used. The
hibernate.default_schema, however is actually causing us a problem and I've needed to pop it out of the file using Ant at build-time; something I _really_ don't want to do long term.
Thanks for any insight,