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
  • 539
  • 297

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)



    Spring Integration
    Written by: Soby Chacko
    Featured Refcardz: Top Refcardz:
    1. Search Patterns
    2. Python
    3. C++
    4. Design Patterns
    5. OO JS
    1. PhoneGap
    2. Spring Integration
    3. Regex
    4. Git
    5. Java