shankar wrote:
Hi,
I am using hibernate.hbm2ddl.auto with create option to create tables. the tables i need to craete are listed in the hibernate cfg file. TABLES for all the hbms gets created.
Is there any way by which i can stop table creation of some of the hbms listed in my hibernate cfg file.
Any tag in the hbm file or hibernate cfg file which will stop the table creation for those hbms.
you have full controll over code-generation by passing your customized set of vm-templates.
1. extract the vm-files from hibernate-tools.jar
2. modifly control flow according to your needs
3. specify your own customized set of vm-files when running hbm2dll
(I have done this successfully)