This content has been marked as final.
Show 4 replies
-
1. Re: Is reveng entity annotations configurable?
maxandersen Aug 29, 2006 9:32 AM (in response to memelet)there is no difference wether it is for hbm.xml or entity they use the same underlying model.
you can avoid catalog/schema by setting default_schema and default_catalog in hibernate.cfg.xml to the schema you are actually reverse engineering ...then all reference to that schema/catalog will be "defaulted" (e.g. set to null) and thus not appear in any mappings, come it hbm.xml or ejb3 annotations. -
2. Re: Is reveng entity annotations configurable?
memelet Aug 29, 2006 10:54 AM (in response to memelet)I can't seem to find the default_schema,catalog in the hibernate-configuration-3.0.dtd. Am I missing something?
thanks! -
3. Re: Is reveng entity annotations configurable?
maxandersen Aug 29, 2006 11:00 AM (in response to memelet)its a property.
<property name="hibernate.default_schema">SCOTT</property>
-
4. Re: Is reveng entity annotations configurable?
memelet Aug 29, 2006 11:06 AM (in response to memelet)Yea, I just found it. Thanks!!