Search code examples
databasenhibernatestored-proceduresjpatoplink

What happend to SQL Stored-Procedure in using of JPA?


What happened to SP when we use of JPA? Does JPA kill stored-procedures?


Solution

  • JPA did not/will not kill stored procedures. You can use them both in your application. Saying that JPA killed stored procedures is almost like saying that JPA killed SQL. Plain-old-straight native SQL is still the best choice for some portions of your applications. Even if that application is mostly using JPA.