Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Map to a column that may not exist
Map to a column that may not exist [message #537682] Thu, 03 June 2010 11:33 Go to next message
Matti Hansson is currently offline Matti Hansson
Messages: 68
Registered: July 2009
Member
Hi!
I have a number of tables with the same structure so I have a base class with all the annotation mappings. The thing is, some of these tables may later on be extended with a new column. Is it possible to add a column mapping in which the column is not guaranteed to be there or do I have to go in and make changes as the tables are updated?
Thanks!
/Matti
Re: Map to a column that may not exist [message #537732 is a reply to message #537682] Thu, 03 June 2010 13:48 Go to previous messageGo to next message
James Sutherland is currently offline James Sutherland
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

You have to make the changes when the tables are updated.


James : Wiki : Book : Blog : Twitter
Re: Map to a column that may not exist [message #537734 is a reply to message #537732] Thu, 03 June 2010 13:56 Go to previous message
Matti Hansson is currently offline Matti Hansson
Messages: 68
Registered: July 2009
Member
Ah. Oh, well. Thanks!
Previous Topic:NullPointerException on combining inheritance strategies (table per class + joined)
Next Topic:jpql query mystery
Goto Forum:
  


Current Time: Tue Sep 16 03:06:24 GMT 2014

Powered by FUDForum. Page generated in 0.01549 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software