Samsung Galaxy Note, 4G LTE Plans, Transfer Photos Videos from iPhone to Samsung, Network Performance, Mobile Accounts, Furious Gold SPD TooL, Latest Version Full Setup

Info JPA and Stored Procedures

Info JPA and Stored Procedures - this blog we have built from a few years ago and already very much information about gadgets that we convey and a lot of blog visitors New Blog Techno News who are satisfied with the information, we will always try to update the latest information for you, first about Info JPA and Stored Procedures many already we collect data to make this article so you do not miss the news, please see:

Articles : Info JPA and Stored Procedures
full Link : Info JPA and Stored Procedures

You can also see our article on:


Info JPA and Stored Procedures

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:



articles Info JPA and Stored Procedures finished in discussion

hopefully the information we convey about Info JPA and Stored Procedures can benefit you in getting new knowledge about technology,

you just finished reading the information Info JPA and Stored Procedures we hope this informmation can answer the question you submit to googlle, if you want to bookmark or share please use link https://moymoycikukecik.blogspot.com/2009/03/info-jpa-and-stored-procedures.html and do not forget to always visit this blog to get the latest information every day.

Tag :
Share on Facebook
Share on Twitter
Share on Google+
Tags :

Related : Info JPA and Stored Procedures

0 komentar:

Posting Komentar