Link Details

Link 781209 thumbnail
User 236075 avatar

By henk
via jdevelopment.nl
Published: Apr 23 2012 / 11:21

In JPA one can define JPQL queries as well as native queries. Each of those can return either an Entity or one or more scalar values. Queries can be created on demand at run-time from a String, or at start-up time from an annotation. Of all those combinations, curiously Hibernate has never supported native named queries returning a scalar result, including insert, update and delete queries which all don’t return a result set, but merely the number of rows affected.
  • 10
  • 0
  • 2571
  • 938

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 (10)



Voters Against This Link (0)



    Debugging JavaScript
    Written by: Ashutosh Sharma
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java EE7
    5. HTML5 Mobile
    1. Java EE7
    2. Spring Annotations
    3. Git
    4. Java
    5. REST