Announcement Announcement Module
Collapse
No announcement yet.
Migratation Problem Jdbc Oracle Extensions Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Migratation Problem Jdbc Oracle Extensions

    Hi,

    i am migrating from to the from the via springsource customer support provided Jdbc Oracle Extensions to the Open Source version.

    My expectations where that i could replace the existing dependencies with the new jars: spring-data-jdbc-core-1.0.0.RC3 and spring-data-oracle-1.0.0.RC3 and in the spring bean configuration switch the schemas http://www.springsource.com/schema/o...cle-db-1.0.xsd to the http://www.springframework.org/schem...a-orcl-1.0.xsd schema.

    Is my assumption wrong?
    With the new schema i am getting:
    Code:
    Multiple annotations found at this line:
    	- Start tag of element <orcl:pooling-datasource>
    	- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'orcl: pooling-
    	 datasource'.
    in the Eclipse Xml Editor.

    My Bean Configuration is:

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
    	xmlns:orcl="http://www.springsource.com/schema/data/orcl"
    	xsi:schemaLocation="http://www.springframework.org/schema/beans
           http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
           http://www.springframework.org/schema/context
           http://www.springframework.org/schema/context/spring-context-3.1.xsd
          http://www.springframework.org/schema/jee 
          http://www.springframework.org/schema/jee/spring-jee-3.1.xsd
           http://www.springsource.com/schema/data/orcl
           http://www.springframework.org/schema/data/orcl/spring-data-orcl-1.0.xsd">
    
    	<orcl:pooling-datasource id="dataSource" properties-location="classpath:proxyuser.properties">
    		<orcl:username-connection-proxy
    			connection-context-provider="conversationFactory" />
    	</orcl:pooling-datasource>
    con text 
    </beans>
    What i changed is the target namespace and the url of the orcl schema.

    Note: i am on Spring 3.1.1 generally.

    Best thanx for any advice or feedback
    Christoph
    Last edited by chenrici; Jul 2nd, 2012, 01:31 AM.

  • #2
    It seems that spring data jdbc exentions <= 1.0.0.RC3 are not compatible with Spring 3.1.1

    Comment

    Working...
    X