January 2019
Beginner to intermediate
352 pages
8h
English
This microservice implements the business domain of the offer to buy football players.
The Maven pom.xml file is similar to the one that was described previously.
We will use MySQL, not PostgreSQL to enforce the concept of a dedicated database schema for each microservice.
The following is the code for the attributes of the entity FootballPlayerOffer.java, which is used to display the information, managed by this microservice:
@Entity @Table(name = "FOOTBALL_PLAYER_OFFER") @XmlRootElement @NamedQueries({ @NamedQuery(name = "FootballPlayerOffer.findAll", query = "SELECT f FROM FootballPlayerOffer f") }) public class FootballPlayerOffer { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Basic(optional ...Read now
Unlock full access