org.oddjob.sql
Class TypeBasedDialect

java.lang.Object
  extended by org.oddjob.sql.TypeBasedDialect
All Implemented Interfaces:
DatabaseDialect

public class TypeBasedDialect
extends Object
implements DatabaseDialect

A ResultSetExtractor that uses simple java types for most column types. This was introduced for Oracle which uses it's own types and this might not always be desirable.

This class is still a work in progress.

Author:
rob

Constructor Summary
TypeBasedDialect()
           
 
Method Summary
 ResultSetExtractor resultSetExtractorFor(ResultSet resultSet)
          Provide an ResultSetExtractor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeBasedDialect

public TypeBasedDialect()
Method Detail

resultSetExtractorFor

public ResultSetExtractor resultSetExtractorFor(ResultSet resultSet)
                                         throws SQLException
Description copied from interface: DatabaseDialect
Provide an ResultSetExtractor.

Specified by:
resultSetExtractorFor in interface DatabaseDialect
Parameters:
resultSet - The result set.
Returns:
The extranctor. never null.
Throws:
SQLException