January 2019
Beginner to intermediate
352 pages
8h
English
We need a domain model object to map the records inserted into our database. To do this, we will use the JPA specification; so, we will create an entity class for this purpose, as follows:
package com.packtpub.thorntail.footballplayermicroservice.model; import java.math.BigInteger; ... /** * Domain model class that maps the data stored into football_player table * inside database. * * @author Mauro Vocale * @version 1.0.0 15/08/2018 */ @Entity @Table(name = "football_player") @XmlRootElement ...Read now
Unlock full access