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

Using Visual Web JavaServerFaces to display db data in a table

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

The name of this question is: carbon_copy

Hello and Thank you in advance for any assistance.


The purpose of this code is create a desktop app and web app. The web app has the destop apps library. Create a web page to display the content table (please find splashbookdb.sql attached).


My question concerning this code is why the data is not displaying in page. The table is linked to the db and the headers are correct in the deployment.


The actual functionality of this code is: the program runs but it seems the PK is not working in the
This project is modeled after the project at
Using Java Persistence API Within a Visual Web JSF Application

It is almost a carbon copy of this program except for the data (As far as I can tell).


The errors related to this code is: table displays correct but no data.


Code (Entity class)


Code (controller for the entity content)


Code description: persistence.xml



Thanks again.


The solutions related to this code are



James Howerton
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the splashbookdb.sql as mentioned above.
Posts: 67425
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please take the time to choose the correct forum for your posts. This forum is for questions on JSP. For more information, please read this.

This post has been moved to the JSF forum.

Oh sure, it's a tiny ad, but under the right circumstances, it gets bigger.
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic