Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Add additional fields to the InventoryItem Entity.
  • Create a Customer Entity and establish a one-to-many relationship with the InventoryItems as one customer having purchased many items.
  • Since several customers could have purchased the same items and an item could have been purchased by many customers, use the documentation to create a many-to-many relationship using @ManyToMany*.

~ *To make these changes you may have to delete the existing database tables so that they can recreated with the new relationship fields.~


References

...