org.melati.poem.dbms.test.sql
Class 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:
java.sql.Array
Direct Known Subclasses:
ThrowingArrayVariant

public abstract class ThrowingArrayJdbc3
extends Thrower
implements java.sql.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
 java.lang.Object getArray()
          
 java.lang.Object getArray(long index, int count)
          
 java.lang.Object getArray(long index, int count, java.util.Map map)
          
 java.lang.Object getArray(java.util.Map map)
          
 int getBaseType()
          
 java.lang.String getBaseTypeName()
          
 java.sql.ResultSet getResultSet()
          
 java.sql.ResultSet getResultSet(long index, int count)
          
 java.sql.ResultSet getResultSet(long index, int count, java.util.Map map)
          
 java.sql.ResultSet getResultSet(java.util.Map 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
 

Constructor Detail

ThrowingArrayJdbc3

public ThrowingArrayJdbc3()
Method Detail

getArray

public java.lang.Object getArray()
                          throws java.sql.SQLException

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

getArray

public java.lang.Object getArray(java.util.Map map)
                          throws java.sql.SQLException

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

getArray

public java.lang.Object getArray(long index,
                                 int count)
                          throws java.sql.SQLException

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

getArray

public java.lang.Object getArray(long index,
                                 int count,
                                 java.util.Map map)
                          throws java.sql.SQLException

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

getBaseType

public int getBaseType()
                throws java.sql.SQLException

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

getBaseTypeName

public java.lang.String getBaseTypeName()
                                 throws java.sql.SQLException

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

getResultSet

public java.sql.ResultSet getResultSet()
                                throws java.sql.SQLException

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

getResultSet

public java.sql.ResultSet getResultSet(java.util.Map map)
                                throws java.sql.SQLException

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

getResultSet

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

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

getResultSet

public java.sql.ResultSet getResultSet(long index,
                                       int count,
                                       java.util.Map map)
                                throws java.sql.SQLException

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


Copyright © 2000-2008 PanEris. All Rights Reserved.