• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

get data from many tables with count function

 
Abdullah Ahmed
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi every body,

I do not have a good experience on how to use JPA and/or hibernate.
What i am trying to do is bring data from many tables have relations and use count function and grouping the data and i succeed but it back in list of type object when i tried to read this data from jsf page i get exception
javax.servlet.ServletException: For input string: "distributer"
javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)


please i need any help.

Thank you.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It doesn't look like a Hibernate exception, but it is a bit hard to tell based on the information you've posted. Can you post the whole stack trace and your code?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Darvesh Niz,
Your post is not the same question and was moved to a new topic.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic