Grails

NativeJdbcExtractor needed if using Oracle,Lobs and Pooling

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.0.1
  • Fix Version/s: 1.1-beta2
  • Component/s: Persistence, Plugins
  • Labels:
    None

Description

If using Oracle, the SpringLobHandlerDetectorFactoryBean correctly registers an OracleLobHandler and this works fine if pooling is false.

If pooling is enabled, the OracleLobHandler needs access to the native Oracle connection, which means it needs and instance of org.springframework.jdbc.support.nativejdbc.CommonsDbcpNativeJdbcExtractor in order to get it. In grails 1.0.1, an exception is thrown by the Spring code because the extractor is missing.

Please update SpringLobHandlerDetectorFactoryBean to also check whether pooling is enabled and set the NativeJdbcExtractor if it is.

Activity

Hide
Graeme Rocher added a comment -

Bulk closing bunch of resolved issues

Show
Graeme Rocher added a comment - Bulk closing bunch of resolved issues

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: