JPA
Creating a simple MySql Table: CREATE TABLE `YairShinar`.`employee` ( `idemployee` INT NOT NULL , `firstname` VARCHAR(45) NULL , `lastname` VARCHAR(45) NULL , PRIMARY KEY (`idemployee`) ); Creating the JPA annotations and imports package com.YairShinar.jpa.entities.Employee; import java.io.Serializable; import javax.persistence.*; @Entity public class Employee implements Serializable { @Id private int idEmployee; privateContinue Reading