While creating new toplink files(.descriptor, .topclass, .project files).
When I add a new table and map the new table with an existing table (make the required entries in .project file manually). It throws the following error:
Stack Trace:
java.lang.Exception: Logic class creation failed. Target exception class: java.lang.Exception. Target exception message: Error in ServerSessionHolder.startup(). Error in initializeDatabaseConnection().
EXCEPTION DESCRIPTION: Not Enough SectionDefinition[PROPERTIES] -> ObjectDefinition[TOPLink.Public.PublicInterface.Descriptor] (found 0)SOURCE.
Code:
try {
TOPLink.Tools.BuilderReader.ProjectReader.read();
} catch (TOPLink.Tools.BuilderReader.BuilderException be) { }
Note: The code works fine by the time when I added a new fields in an existing table.