Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » add column in a table
add column in a table [message #630403] Fri, 01 October 2010 17:44 Go to previous message
vicenrico  is currently offline vicenrico
Messages: 2
Registered: October 2010
Junior Member
Hello everybody.
This is the first time i use eclipselink and i would like to know if i this plus JPA can create automatically a column into the database.
I mean:

class persona{
int id;
String name;
}

etc...(i haven't set the @stuff)

I want to know, if i modify this class (for, example adding a new field, eclipselink+JPA will modify my table or i have to use "alter table" methods.

I tried to do, but i'm receiving :
"Column DNI not found; SQL statement:" error.
 
Read Message
Read Message
Previous Topic:EclipseLink JPA2.0 orm table name prefix help
Next Topic:Compatibility of TABLE_PER_CLASS inheritance strategy with composite keys
Goto Forum:
  


Current Time: Fri May 24 11:37:13 EDT 2013

Powered by FUDForum. Page generated in 0.01664 seconds