Skip to content

.hibernate4.LocalSessionFac toryBean doen't have "p:lobHandler-ref" property [SPR-9022] #13661

@spring-projects-issues

Description

@spring-projects-issues

Maxim Kuzmik opened SPR-9022 and commented

Hello.

After merge for spring 3.1 and Hibernate 4. I can't do the work with Clob.

I have hbm file:

...
<property generated="never" lazy="false" name="hbmProperties" type="org.springframework.orm.hibernate3.support.ClobStringType">
...

In the package hibernate4.support.ClobStringType is absent.

And second one in the configuration i was have:
Code:

<bean id="sessionFactory"
        class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"
        p:dataSource-ref="asgePortalDataSource" p:lobHandler-ref="oracleLobHandler">
...
</bean>
<bean id="oracleLobHandler" class="org.springframework.jdbc.support.lob.OracleLobHandler"
        lazy-init="true">
        <property name="nativeJdbcExtractor">
            <ref local="nativeJdbcExtractor" />
        </property>
    </bean>

Now the org.springframework.orm.hibernate4.LocalSessionFac toryBean doen't have "p:lobHandler-ref" property.

What is the path to fix this?


Affects: 3.1 GA

Reference URL: http://forum.springsource.org/showthread.php?121101-Hibernate-4-logHandler-ClobStringType

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions