org.apache.ddlutils.util
Class Jdbc3Utils

java.lang.Object
  extended byorg.apache.ddlutils.util.Jdbc3Utils

public abstract class Jdbc3Utils
extends Object

Little helper class providing functions for dealing with the newer JDBC functionality.

Version:
$Revision: 289996 $
Author:
Thomas Dudziak

Constructor Summary
Jdbc3Utils()
           
 
Method Summary
static int determineBooleanTypeCode()
          Determines the type code for the BOOLEAN JDBC type.
static int determineDatalinkTypeCode()
          Determines the type code for the DATALINK JDBC type.
static boolean supportsJava14JdbcTypes()
          Determines whether the system supports the Java 1.4 JDBC Types, DATALINK and BOOLEAN.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jdbc3Utils

public Jdbc3Utils()
Method Detail

supportsJava14JdbcTypes

public static boolean supportsJava14JdbcTypes()
Determines whether the system supports the Java 1.4 JDBC Types, DATALINK and BOOLEAN.

Returns:
true if BOOLEAN and DATALINK are available

determineBooleanTypeCode

public static int determineBooleanTypeCode()
                                    throws UnsupportedOperationException
Determines the type code for the BOOLEAN JDBC type.

Returns:
The type code
Throws:
UnsupportedOperationException - If the BOOLEAN type is not supported

determineDatalinkTypeCode

public static int determineDatalinkTypeCode()
                                     throws UnsupportedOperationException
Determines the type code for the DATALINK JDBC type.

Returns:
The type code
Throws:
UnsupportedOperationException - If the DATALINK type is not supported


Copyright © 2005 Apache Software Foundation. All Rights Reserved.