• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding columns dynamically

 
sriram sankar
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If an application has

First Name
Last Name
Country

And in future if someone wants to have zip code. I think use hibernate alter table functionality to add columns will be efficient way of doing it.

Does anyone managed these kinds of functionality in your products without an ORM solution?
 
sriram sankar
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I mean hibernate or any ORM solution...
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34974
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sriram sankar wrote:Does anyone managed these kinds of functionality in your products without an ORM solution?

The alternative is to run the SQL to add the column yourself.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic