hii felicepollano,
I have tryied to use your tool for oracle DB just by implementing the interface:
<foreign-key-crawlers>
<factory>NHibernate.Tool.Oracle.ForeignKeyCrawlers.OracleForeignKeyCrawlerFactory, NHibernate.Tool.Oracle</factory>
</foreign-key-crawlers>
...
<connection-info>
<dialect>NHibernate.Dialect.Oracle9iDialect, NHibernate</dialect>
And all the hbms that have been created where only with properties and not with relations between the tables.
I have attached the process of the db2hbm to my v.s and seen that the Register function called.
But the GetForeignKeyColumns in the interface was never call some how i dont know way ?
Can you help me your code is not open source ?
Hi Felice,
in the above article "How to use Db2hbm" you say: "A schema for the configuration file is provided in the distributed zip.".
Well, that's not true, you probably forgot to add it.
Ultimately I've found it here, but it was quite a search.
Nice tool.
Cheers
The location of schema files is:
nhcontrib.svn.sourceforge.net/.../NHibernate.Tool.Db2hbm
Yanch,
Thank you for posting the location of that schema file. You probably saved me considerable time trying to find it!!
Simon.
Thanks, I will check