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 HanssonFriend
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 SutherlandFriend
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 HanssonFriend
Messages: 68
Registered: July 2009
Member
Ah. Oh, well. Thanks!
Previous Topic:XML Composite Object Mapping problem
Next Topic:Query across Variable One to One mapping
Goto Forum:
  


Current Time: Sun Sep 24 10:25:56 GMT 2017

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

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