org.codehaus.groovy.grails.orm.hibernate.support
Class SpringLobHandlerDetectorFactoryBean

java.lang.Object
  extended by org.codehaus.groovy.grails.orm.hibernate.support.SpringLobHandlerDetectorFactoryBean
All Implemented Interfaces:
FactoryBean<LobHandler>, InitializingBean

public class SpringLobHandlerDetectorFactoryBean
extends Object
implements FactoryBean<LobHandler>, InitializingBean

Attempts to auto-detect the LobHandler to use from the db meta data.

Since:
1.0
Author:
Graeme Rocher

Constructor Summary
SpringLobHandlerDetectorFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 LobHandler getObject()
           
 Class<LobHandler> getObjectType()
           
 boolean isSingleton()
           
 void setDataSource(DataSource dataSource)
           
 void setNativeJdbcExtractor(NativeJdbcExtractor nativeJdbcExtractor)
           
 void setPooledConnection(boolean pooledConnection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringLobHandlerDetectorFactoryBean

public SpringLobHandlerDetectorFactoryBean()
Method Detail

setDataSource

public void setDataSource(DataSource dataSource)

setNativeJdbcExtractor

public void setNativeJdbcExtractor(NativeJdbcExtractor nativeJdbcExtractor)

setPooledConnection

public void setPooledConnection(boolean pooledConnection)

getObject

public LobHandler getObject()
Specified by:
getObject in interface FactoryBean<LobHandler>

getObjectType

public Class<LobHandler> getObjectType()
Specified by:
getObjectType in interface FactoryBean<LobHandler>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface FactoryBean<LobHandler>

afterPropertiesSet

public void afterPropertiesSet()
                        throws MetaDataAccessException
Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
MetaDataAccessException