Hi!
I wanted to know if I can create a table at runtime using Hibernate? My project has spec wherein I need to create a table based on a particular creteria. My system will be providing the fields for the table. I'll be using JBoss server. As far as I know, when you fire a query using Hibernate, the hbm.xml files included in cfg.xml gets loaded in session. So, my question is how can I create the POJO classes and hbm.xml files for the table in question while in runtime/programmatically. Any help would be appreciated. Thanks in advance.
|