I'm trying to persist form data in database in JPA. It seems, it's getting data from front end to
servlet but failing to go through
service class and therefore no data is beilng persisted in database. Database is in mysql and JPA provider is hibernate.
Table has an AUTO_INCREMENT id as primary key. No error is being produced on server log. Any suggestion is much appreciated. Here is my code:
servlet:
Entity class:
Service class for JPA persistence:
persistence.xml: