Austin Gadget, Samsung Galaxy, Android Jelly Bean, stock firmware, Volcano Box, miracle box, Internet Access, huawei, How to Backup Data, iPhone 7 to PC/Mac and ZTE

JPA and Stored Procedures

JPA and Stored Procedures - We have long been building this blog, we are trying to present a complete and reliable information. ranging from hardware products to software that develops to facilitate your life, but as the gadget's increasingly sophisticated capabilities are increasingly also the menu that you must understand, in the blog Austin Gadget we will review many gadget products from start speck and price, we will discuss first about JPA and Stored Procedures hopefully information will give will give answer to your question to google, please refer to.

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

You can also see our article on:


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:



so many information about JPA and Stored Procedures

hopefully the information we provide about JPA and Stored Procedures can be useful for you and the readers of all readers of this blog.

you just finished reading the article with the title JPA and Stored Procedures if you intend to bookmark or share please use the link https://austinangck2809.blogspot.com/2009/03/jpa-and-stored-procedures.html and if you want to get other information please visit other pages on this blog.

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

Related : JPA and Stored Procedures

0 comments:

Posting Komentar