Skip navigation links

MySQL Forums :: Connector/JDBC and Java :: Pass Java object to stored Procedure


Advanced Search

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
Pass Java object to stored Procedure sanjeev M 02/13/2012 12:25AM
Re: Pass Java object to stored Procedure Todd Farmer 02/13/2012 02:05PM
Re: Pass Java object to stored Procedure sanjeev M 02/13/2012 06:54PM
Re: Pass Java object to stored Procedure Todd Farmer 02/14/2012 04:21AM
Re: Pass Java object to stored Procedure sanjeev M 02/15/2012 02:08AM
Re: Pass Java object to stored Procedure Todd Farmer 02/15/2012 11:31AM
Re: Pass Java object to stored Procedure peter thomas 03/07/2012 01:43AM


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.