aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Adding columns dynamically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Adding columns dynamically" Watch "Adding columns dynamically" New topic
Author

Adding columns dynamically

sriram sankar
Ranch Hand

Joined: Feb 26, 2008
Posts: 43
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?


SCJP 1.5 , SCBCD 5.0, SCEA 5.0
sriram sankar
Ranch Hand

Joined: Feb 26, 2008
Posts: 43
I mean hibernate or any ORM solution...
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29274
    
140

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Adding columns dynamically
 
Similar Threads
Power
Update Pattern??
sorting functionality in jsp
keep rows and columns freezing
Key comparison