Generating SQL and Java for items
- Switch to RSSItem.eomodeld.
- Select the RSSItem, RSSItemKeyword and
RSSItemTag entities.
- Choose Generate SQL... from the Property
menu
- Turn on the Create Tables, Primary Key
Constraints and Foreign Key Constraints options, and
uncheck everything else.
- Click Execute SQL.
- Close the SQL Generation window.
- Select the RSSItem entity
- Choose Generate Java Files... from the Property
menu.
- Click Overwrite.
- Open RSSItem.java in Project Builder.
- Add this line:
import com.wirehose.base.*;
- Change the class declaration to:
public class RSSItem extends com.wirehose.base.WHConcreteResource
Previous |
Next
Copyright ©2000-2003 Gary Teter. All rights reserved. WireHose is a trademark of Gary Teter.