Link Details

Link 877203 thumbnail
User 190684 avatar

By agirish
via jroller.com
Published: Nov 13 2012 / 08:38

In this blog post, lets try to use JPA to fetch summary of records from database. We often have a requirement where we need to provide a summary of the data present. For example, I want to get summary of results of a recently conducted exam. So from a database table, I need to get Summary containing count of students who have passed, got promoted or failed the exam. So our summary record shall have Passed, Promoted and Failed as columns. An SQL query to do similar task could be
  • 2
  • 0
  • 615
  • 478

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (2)



Voters Against This Link (0)



    Play Framework
    Written by: Ryan Knight
    Featured Refcardz: Top Refcardz:
    1. Akka
    2. Design Patterns
    3. OO JS
    4. Cont. Delivery
    5. HTML5 Mobile
    1. Akka
    2. JUnit/EasyMock
    3. Java Performance
    4. REST
    5. Java