Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
File:Jpa jsf tutorial model.gif
This figure shows the tutorial model object. There are three classes: Item, Inventory, and Order. Item contains the following attributes: String category, String description, String name, long SKU (the primary key and a generated value), and int version (the optimistic lock value). Inventory contains the following attributes: double cost, long id (the primary key whose value is a foreign key to Item initialized from Item primary key field SKU), item of type Item, double price, int quantity, and int version (the optimistic lock value). Order contains the following attributes: Date arrivalDate, String currentLocation, item of type Item (a foreign key), long orderId (the primary key and a generated value), Date orderInitiated, int quantity, and int version (the optimistic lock value). There is a one-to-one relationship between Inventory field id (the join column) and Item and a one-to-one relationship between Order field item and Item. In the data model, Inventory refers to Item using the value of id as a foreign key and Order refers to Item using the value of item as a foreign key.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 14:44, 1 February 2008 | 516 × 360 (13 KB) | Rick.sapir.oracle.com (Talk | contribs) | This figure shows the tutorial model object. There are three classes: Item, Inventory, and Order. Item contains the following attributes: String category, String description, String name, long SKU (the primary key and a generated value), and int version ( | |
14:30, 29 January 2008 | 516 × 360 (5 KB) | Rick.sapir.oracle.com (Talk | contribs) | This figure shows the tutorial model object. There are three classes: Item, Inventory, and Order. Item contains the following attributes: String category, String description, String name, long SKU (the primary key and a generated value), and int version ( |
- You cannot overwrite this file.
File usage
The following page links to this file: