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:
in the Eclipse Xml Editor.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'.
My Bean Configuration is:
What i changed is the target namespace and the url of the orcl schema.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>
Note: i am on Spring 3.1.1 generally.
Best thanx for any advice or feedback
Christoph


Reply With Quote