NHibernate Forge
The official new home for the NHibernate for .NET community

Comments: How to use Db2hbm

Wiki Page Hierarchy

Pages

Page Details

First published by:
felicepollano
on 02-25-2010
Last revision by:
supersi
on 06-04-2010
3 people found this article useful.
Comments (19)
History (2)

How to use Db2hbm

Sort by: Published Date | Most Recent | Most Useful
1 2 3 4 Next >
By: shaibeer Posted on 05-23-2010 14:16

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 ?

By: yanch Posted on 06-03-2010 12:26
100% of people found this useful

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

By: yanch Posted on 06-03-2010 12:28
100% of people found this useful
By: supersi Posted on 06-04-2010 10:36

Yanch,

Thank you for posting the location of that schema file. You probably saved me considerable time trying to find it!!

Simon.

By: felicepollano Posted on 06-04-2010 13:13

Thanks, I will check

Powered by Community Server (Commercial Edition), by Telligent Systems