org.melati.poem.dbms.test.sql
Class ThrowingParameterMetaDataJdbc4

Package class diagram package ThrowingParameterMetaDataJdbc4
java.lang.Object
  extended by org.melati.poem.dbms.test.sql.Thrower
      extended by org.melati.poem.dbms.test.sql.ThrowingParameterMetaDataJdbc3
          extended by org.melati.poem.dbms.test.sql.ThrowingParameterMetaDataJdbc4
All Implemented Interfaces:
ParameterMetaData, Wrapper
Direct Known Subclasses:
ThrowingParameterMetaDataVariant

public abstract class ThrowingParameterMetaDataJdbc4
extends ThrowingParameterMetaDataJdbc3
implements ParameterMetaData

The JDBC4 members of a ParameterMetaData, decorated to throw an SQLException on command.

Since:
5 Feb 2008
Author:
timp

Field Summary
 
Fields inherited from interface java.sql.ParameterMetaData
parameterModeIn, parameterModeInOut, parameterModeOut, parameterModeUnknown, parameterNoNulls, parameterNullable, parameterNullableUnknown
 
Constructor Summary
ThrowingParameterMetaDataJdbc4()
           
 
Method Summary
 boolean isWrapperFor(Class<?> iface)
          
<T> T
unwrap(Class<T> iface)
          
 
Methods inherited from class org.melati.poem.dbms.test.sql.ThrowingParameterMetaDataJdbc3
getParameterClassName, getParameterCount, getParameterMode, getParameterType, getParameterTypeName, getPrecision, getScale, isNullable, isSigned
 
Methods inherited from class org.melati.poem.dbms.test.sql.Thrower
shouldThrow, startThrowing, startThrowingAfter, stopThrowing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.sql.ParameterMetaData
getParameterClassName, getParameterCount, getParameterMode, getParameterType, getParameterTypeName, getPrecision, getScale, isNullable, isSigned
 

Constructor Detail

ThrowingParameterMetaDataJdbc4

public ThrowingParameterMetaDataJdbc4()
Method Detail

isWrapperFor

public boolean isWrapperFor(Class<?> iface)
                     throws SQLException

Specified by:
isWrapperFor in interface Wrapper
Throws:
SQLException
See Also:
Wrapper.isWrapperFor(java.lang.Class)

unwrap

public <T> T unwrap(Class<T> iface)
         throws SQLException

Specified by:
unwrap in interface Wrapper
Throws:
SQLException
See Also:
Wrapper.unwrap(java.lang.Class)


Copyright © 2000-2010 PanEris. All Rights Reserved.