Skip to Content
WebObjects® Developer's Guide
book

WebObjects® Developer's Guide

by Ravi Mendis
June 2002
Intermediate to advanced content levelIntermediate to advanced
400 pages
7h 48m
English
Sams
Content preview from WebObjects® Developer's Guide

Altering the Object Model and Database

Open the Forum.eomodeld file from the ForumTest project.

Select the Post.by attribute in EOModeler and reset the width to 10 from 50. Save your changes.

Synchronizing the Model and the Database

For minor changes like the one we've just made, EOModeler has a very convenient tool that allows us to update the database to reflect the changes made to the model.

This enables us to circumvent recreating the tables and the database every time a small change is made. Hence, you don't lose your data.

This tool has its limits, but it's excellent for minor alterations to a model.

Choose Model, Synchronize Schema from the menu.

This will open a panel such as the one in Figure 9.5.

Figure 9.5. Synchronize the Database ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Real World XML

Real World XML

Steven Holzner
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 0672323265Purchase book