Junior — Senior
Displaying the order_details table in Hibernate
livecode
Task condition
The database contains a table order_details(order_id, product_id, count). It is required to implement its display in Hibernate, using either a separate entity or a composite key.
The database structure consists of three tables:
User(id, name, sex, birthday)
Product(id, maker, model, type)
Order(user_id, product_id, date, count, code, price, total_sum)