How to call stored procedures in JPA – Part 2
| | |

How to call stored procedures in JPA – Part 2

Up to Version 2.1, JPA was missing real support for stored procedures. The only available option was to use a native query. This changed with JPA 2.1, when @NamedStoredProcedureQuery and StoredProcedureQuery were introduced as two of the new features. I wrote about @NamedStoredProcedureQuery and how to use it to define stored procedure calls in the…

Result Set Mapping: Hibernate Specific Mappings
| |

Result Set Mapping: Hibernate Specific Mappings

This is the fourth and last part of my series about SQL result set mappings: Result Set Mapping: The Basics Result Set Mapping: Complex Mappings Result Set Mapping: Constructor Result Mappings Result Set Mapping: Hibernate Specific Features In the first post, we had a look at some basic mapping definitions to map the query result to an entity. The…

Result Set Mapping: Constructor Result Mappings
| |

Result Set Mapping: Constructor Result Mappings

This is the third part of my series about SQL result set mappings: Result Set Mapping: The Basics Result Set Mapping: Complex Mappings Result Set Mapping: Constructor Result Mappings Result Set Mapping: Hibernate Specific Features In the first post of this series, we had a look at some mapping definition between the query result and one entity….