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

Package class diagram package ThrowingArrayJdbc3
java.lang.Object
  extended by org.melati.poem.dbms.test.sql.Thrower
      extended by org.melati.poem.dbms.test.sql.ThrowingArrayJdbc3
All Implemented Interfaces:
Array
Direct Known Subclasses:
ThrowingArrayJdbc4

public abstract class ThrowingArrayJdbc3
extends Thrower
implements Array

The JDBC 3 members of an Array, decorated to throw an SQLException on command.

Since:
5 Feb 2008
Author:
timp

Constructor Summary
ThrowingArrayJdbc3()
           
 
Method Summary
 Object getArray()
          
 Object getArray(long index, int count)
          
 Object getArray(long index, int count, Map<String,Class<?>> map)
          
 Object getArray(Map<String,Class<?>> map)
          
 int getBaseType()
          
 String getBaseTypeName()
          
 ResultSet getResultSet()
          
 ResultSet getResultSet(long index, int count)
          
 ResultSet getResultSet(long index, int count, Map<String,Class<?>> map)
          
 ResultSet getResultSet(Map<String,Class<?>> map)
          
 
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.Array
free
 

Constructor Detail

ThrowingArrayJdbc3

public ThrowingArrayJdbc3()
Method Detail

getArray

public Object getArray()
                throws SQLException

Specified by:
getArray in interface Array
Throws:
SQLException
See Also:
Array.getArray()

getArray

public Object getArray(Map<String,Class<?>> map)
                throws SQLException

Specified by:
getArray in interface Array
Throws:
SQLException
See Also:
Array.getArray(java.util.Map)

getArray

public Object getArray(long index,
                       int count)
                throws SQLException

Specified by:
getArray in interface Array
Throws:
SQLException
See Also:
Array.getArray(long, int)

getArray

public Object getArray(long index,
                       int count,
                       Map<String,Class<?>> map)
                throws SQLException

Specified by:
getArray in interface Array
Throws:
SQLException
See Also:
Array.getArray(long, int, java.util.Map)

getBaseType

public int getBaseType()
                throws SQLException

Specified by:
getBaseType in interface Array
Throws:
SQLException
See Also:
Array.getBaseType()

getBaseTypeName

public String getBaseTypeName()
                       throws SQLException

Specified by:
getBaseTypeName in interface Array
Throws:
SQLException
See Also:
Array.getBaseTypeName()

getResultSet

public ResultSet getResultSet()
                       throws SQLException

Specified by:
getResultSet in interface Array
Throws:
SQLException
See Also:
Array.getResultSet()

getResultSet

public ResultSet getResultSet(Map<String,Class<?>> map)
                       throws SQLException

Specified by:
getResultSet in interface Array
Throws:
SQLException
See Also:
Array.getResultSet(java.util.Map)

getResultSet

public ResultSet getResultSet(long index,
                              int count)
                       throws SQLException

Specified by:
getResultSet in interface Array
Throws:
SQLException
See Also:
Array.getResultSet(long, int)

getResultSet

public ResultSet getResultSet(long index,
                              int count,
                              Map<String,Class<?>> map)
                       throws SQLException

Specified by:
getResultSet in interface Array
Throws:
SQLException
See Also:
Array.getResultSet(long, int, java.util.Map)


Copyright © 2000-2010 PanEris. All Rights Reserved.