JPA 2.1 Features (Java EE 7)
Topics
- Stored procedures
- Stored procedures with IN and OUT parameters
- Stored procedures which return result set
Stored Procedures
JPA Support of Stored Procedures
- Stored procedures are widely used in industry for many reasons
- Performance, batch processing, security, accessing native DB functionality
- Before JPA 2.1, the only way you can call stored procedures in JPA is using Native Query
- JPA 2.1 now supports calling stored procedures
- @NamedStoredProcedureQuery - named stored procedures calls defined in meta-data
- StoredProcedureQuery - dynamic stored procedure calls
- Two different types of stored procedures
- Stored procedures with IN and OUT parameters
- Stored procedures which return result set
You must have an active subscription to download PDF and Lab Zip of this course topic.Please click the "Subscribe" button or the "Login" button if you already have an account.