Hi Hiber-nationals,
I have just entered in the world of hibernate. I would like to hear your valuable inputs on the following.
I have a requirement in which I should give the end user the flexibility to select required columns from a master list of columns and create the table with the selected columns alone. User1 would prefer using col1 to 5 and User2 would prefer to use Col3-8. etc. With this need of on-the-fly table creation I am not sure how much Hibernate helps on this.
I have an alternate idea of creating the table with fixed structure with maximum possible columns wherein only partial columns only will be in use. Is there any option in hibernate (like lazy collections) for the properties also?
Please suggest me a better approach to the above. Also advice on whether using hibernate in the above would be benefial or not.
Tx in advance for the knowledge sharing,
Patel.
|