com.liferay.portal.kernel.upgrade.dao.orm
Class UpgradeOptimizedConnectionHandler

java.lang.Object
  extended by com.liferay.portal.kernel.upgrade.dao.orm.UpgradeOptimizedConnectionHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class UpgradeOptimizedConnectionHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

Author:
Minhchau Dang

Constructor Summary
UpgradeOptimizedConnectionHandler(java.sql.Connection connection)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] arguments)
           
protected  java.sql.PreparedStatement prepareStatement(java.lang.String sql)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeOptimizedConnectionHandler

public UpgradeOptimizedConnectionHandler(java.sql.Connection connection)
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] arguments)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable

prepareStatement

protected java.sql.PreparedStatement prepareStatement(java.lang.String sql)
                                               throws java.sql.SQLException
Throws:
java.sql.SQLException