Re: Pass Java object to stored Procedure
Posted by: Todd Farmer
Date: February 15, 2012 11:31AM

Hi Sanjeev,

I don't think a stored procedure will help you at all with performance in the use case you describe. If performance is a concern, have a look at the suggestions made in the following conference slides:

http://assets.en.oreilly.com/1/event/21/Connector_J%20Performance%20Gems%20Presentation.pdf

http://mysqlblog.fivefarmers.com/2011/10/09/connectorj-presentation-at-javaone-and-svcc/

Some of the tips provided are more difficult to manage in JPA, where you relinquish control of SQL execution to the JPA implementation, but some others will benefit you.

--
Todd Farmer
MySQL @ Oracle
http://www.oracle.com/mysql/

Options: ReplyQuote


Subject
Written By
Posted
Re: Pass Java object to stored Procedure
February 15, 2012 11:31AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.