Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Creating a MySQL table and Entity from Database.

Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

The topic of this question is: Creating a MySQL table and Entity from Database.

Hello and Thank you in advance for any assistance.


This is another attempt to render data in a visual web javaserver faces table.
The purpose of this code is to create a MySQL table that will use an auto incremented id and then create an Entity from the database that is able to use this id.


My question concerning this code is the table deploys and the headers are correct based on the content table but why isn’t the data generating.


The actual functionality of this code is based on the tutorial at
and it seems to be constructed the same.


The errors related to this code is that I am assuming that there is a problem with the generated id in the class. Is this possible?


Code description: content table MySQL


Code description @Entity class generated from database


Code description:persistence.xml


Code description

Thanks again.


The solutions related to this code are



Who knew that furniture could be so violent? Put this tiny ad out there to see what happens:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic