New JPA and Stored Procedures By Patricbensen

New JPA and Stored Procedures By Patricbensen - is the information you are looking for, and in the blog All Specs Gadget we have provided her, all right in this article titled New JPA and Stored Procedures By Patricbensen we will discuss it in full, in addition to the information we have also provided a lot of info about the latest gadgets and a wide range of tips and tricks that according to the gadget you are using, well please continue reading:

Articles: New JPA and Stored Procedures By Patricbensen
Full Link : New JPA and Stored Procedures By Patricbensen
Artikel java,

You can also see our article on:


New JPA and Stored Procedures By Patricbensen

I recently stumbled upon many queries on google about how to make Stored Proc calls via JPA. Something was not right with questions like this.

Stored Procs and JPA are completely different beasts with completely different philosophies behind them. Sure you can call stored procs using JPA but thats using the wrong hammer. JPA deals with persistence of entities; Stored procs, with business logic being closest to the data.

If you have a lot of business logic in stored procs, you have the advantage of speed, security and maintainability, however, you lose portability of your business logic if you change your database. Now, in any large-scale enterprise, the database vendor is not really going to change and a database (oracle/sql server/db2) is going to be a uniform commitment across the organization. Having said that, even if you have to port the procs from one database to another, the vendor documentation will include quite comprehensive migration guides for the same. They have to :) For the record, IMHO, I normally stick with stored procs for the reasons listed above. I always have some real DBA cats working on my team that perform something called ATM (Application Transaction Modelling) on the database. Look it up (ATM). Once they are through with this you can flex your ORM muscles all you like, but in the end what you will be left with will just be UGLY. 

Been there, done that, got the T-Shirt.  

If there's one book you should read on JPA, let it be this:


Information New JPA and Stored Procedures By Patricbensen has finished we discussed

says the article New JPA and Stored Procedures By Patricbensen, we beharap be useful to you in finding repensi about the latest gadgets and long.

Information on New JPA and Stored Procedures By Patricbensen has finished you read this article and have the link https://patricbensen.blogspot.com/2009/03/new-jpa-and-stored-procedures-by.html Hopefully the info we deliver is able to address the information needs of the present.

0 Response to "New JPA and Stored Procedures By Patricbensen"

Post a Comment