MTK Android Based Phone IMEI Write Tool, DirecTV Now Launch Will Include Zero Rated Bandwidth on the Mobile Network, video entertainment product with a heavy mobile, Smartphone Apps Drive Content Usage, It will not surprise you that smartphones now are the ways most people interact with the Internet, Social Networking Web Server via Arbitrary Code Execution, Released Add New Method FOR Reset FRP Samsung

Thursday, March 12, 2009

All New JPA and Stored Procedures

All New JPA and Stored Procedures - do you know that every day there are new gadgets that are created with new advantages to simplify your life, on the blog Gadget Center we will discuss about the latest gadgets and gadgets that have long ranging from speck and price, now we will discuss about All New JPA and Stored Procedures we have collected a lot of news to make this article to be really useful for you, please see.

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

You can also see our article on:


All New 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:



article titled All New JPA and Stored Procedures has been completed in the discussion

hopefully information about All New JPA and Stored Procedures can provide benefits for you in determining the gadget to suit your needs so much easier in living everyday life.

you just read the article entitled All New JPA and Stored Procedures if you feel this information is useful for you and want to bookmark it or want to share it please use link https://mjoaobrum.blogspot.com/2009/03/all-new-jpa-and-stored-procedures.html.

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

Related : All New JPA and Stored Procedures

0 comments:

Post a Comment