org.hibernate.engine.jdbc.internal.proxy
Class DatabaseMetaDataProxyHandler
java.lang.Object
org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler
org.hibernate.engine.jdbc.internal.proxy.DatabaseMetaDataProxyHandler
- All Implemented Interfaces:
- InvocationHandler
public class DatabaseMetaDataProxyHandler
- extends AbstractProxyHandler
The InvocationHandler for intercepting messages to DatabaseMetaData
proxies.
Mainly we need to intercept the methods defined on DatabaseMetaData
which expose
ResultSet
instances, which in turn expose Statement
instances, which in turn...
DatabaseMetaDataProxyHandler
public DatabaseMetaDataProxyHandler(DatabaseMetaData databaseMetaData,
ConnectionProxyHandler connectionProxyHandler,
Connection connectionProxy)
continueInvocation
protected Object continueInvocation(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
continueInvocation
in class AbstractProxyHandler
- Throws:
Throwable
doesMethodExposeResultSet
protected boolean doesMethodExposeResultSet(Method method)
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.