Announcement Announcement Module
No announcement yet.
Oracle Lob Handler + Websphere 6.1 Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Oracle Lob Handler + Websphere 6.1


    Requirement is to insert blob/clob into database.
    I am using OracleLobHandler with WebSphereNativeJdbcExtractor.

    However, it is recommended not to use WebSphereNativeJdbcExtractor.

    Using WSCallHelper websphere class will make my application dependent on Websphere.

    I have defined both types of datasources in my application.

    <jee:jndi-lookup id="J2eedataSource" jndi-name="jdbc/${}" resource-ref="true"/>

    <bean id="StdDataSource"
    class="org.springframework.jdbc.datasource.DriverM anagerDataSource">
    <property name="url"><value>jdbc:oracle:thin:@${database.hos t}:${database.port}:${database.dbname}</value></property>
    <property name="username" ><value>${database.user}</value></property>
    <property name="password" ><value>${database.password}</value></property>
    <property name="driverClassName"><value>${database.driver}</value></property>

    to execute all sQL queries, I am passing J2eedataSource datasource to JdbcTemplate.

    How to configure extractor/Oracle lob handler to pick native connections from StdDataSource?

    If SqlLobValue objects created using connections from StdDataSource, then can it be executed using J2eedataSource?

    Thank you.