Comments (11)
Oliver Drotbohm commented
Thomas, could you please look at this? Let me know if I can help out there
from spring-data-jpa.
Dave Carey commented
Just to confirm the issue and to mention that I tried to workaround the issue by following http://www.jroller.com/habuma/entry/fixing_spring_modules_xsd_errors - but failed - for some reason eclipse is failing to recognize the xsd in the M1 distribution jar
from spring-data-jpa.
Thomas Risberg commented
copied the Spring Data schema files to www.springframework.org/schema/data
from spring-data-jpa.
Stevo Slavić commented
Thanks, but now there is a different related issue: spring-jpa-1.0.xsd references http://www.springframework.org/schema/data/repository/spring-repository.xsd which is not available at that URI. Should we file that as separate issue?
from spring-data-jpa.
Thomas Risberg commented
OK, I have coped that one as well. You should be able to see it in a few minutes once the data is synched
from spring-data-jpa.
Stevo Slavić commented
spring-repository-1.0.xsd is there now but not spring-repository.xsd which spring-jpa-1.0.xsd references
from spring-data-jpa.
Stevo Slavić commented
I guess both versionless copy of all the schemas should be published as well since they are the latest ones
from spring-data-jpa.
Thomas Risberg commented
I've created the symbolic links for the version less references. I would think that spring-jpa-1.0.xsd should reference spring-repository-1.0.xsd instead of spring-repository.xsd. I'll create a separate issue for that.
from spring-data-jpa.
Thomas Risberg commented
I've created the symbolic links for the version less references. I would think that spring-jpa-1.0.xsd should reference spring-repository-1.0.xsd instead of spring-repository.xsd. I'll create a separate issue for that.
from spring-data-jpa.
Stevo Slavić commented
Thanks for quick and transparent support!
Related issue now I have still with validation of spring context files is that spring-jpa-1.0.xsd can not be used with spring 3.1 M1 and it's XSDs like in following sprign context config:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:util="http://www.springframework.org/schema/util"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util-3.1.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.1.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-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/data/jpa
http://www.springframework.org/schema/data/jpa/spring-jpa-1.0.xsd">
<jpa:repositories base-package="foo.bar.dao"
entity-manager-factory-ref="entityManagerFactory"
transaction-manager-ref="transactionManager"/>
</beans>
Cause is that spring-jpa-1.0.xsd references/imports versionless spring-context.xsd which imports versionless spring-beans.xsd, so eclipse XML validation complains that there are multiple XSD elements with same name - ones from 3.0 versionless spring core XSDs, and ones from 3.1 in my context config.
Not sure if it will be acceptable and what the policy is for spring core XSDs from 3.1 M1 to be published as versionless XSDs too, before spring 3.1 final is released. Maybe separate issue for this on spring core JIRA project
from spring-data-jpa.
Thomas Risberg commented
I have created a separate JIRA issue DATAJPA-24 to track the versioning issues for these schemas
from spring-data-jpa.
Related Issues (20)
- Upgrade to Hibernate 6.5.0
- Upgrade to JSqlParser 4.9
- SimpleJpaRepository.delete(Specification<T> spec) throws NullPointerException [Kotlin] HOT 3
- Align EnableJpaRepositories with changes in data-commons.
- Native query is not working when an entity attribute entity attribute is annotated with @NotFound HOT 2
- Ordering JPA statement with SUM function HOT 1
- Upgrade to Hibernate 6.4.6.Final
- hibernate6.5 fix @Query doesn't check constructor field type issue HOT 1
- JPQL and HQL parser issue with class projection when FQDN includes "exp" HOT 1
- `HqlParserUnitTests` is flaky
- Spring Data JPA generates incorrect query when using pagination and semicolon in native query HOT 3
- @Query("delete from xxxxx") SQLGrammarException: could not execute statement HOT 9
- @Query("delete from xxxxx") SQLGrammarException: could not execute statement HOT 1
- Wrong handling of positional INOUT parameters when extracting output parameters HOT 9
- entity basePackages in third-party jars HOT 2
- Add `camelCase` to `snake_case` fallback for native query projections HOT 6
- 3.2.x Auditing behavior fails with composite keys using @IdClass but succeeds with @Embeddable HOT 3
- Unexpected Quoting on Column Name after Spring Boot 3 Migration HOT 3
- findById ignores @SQLRestriction annotation when performed in the same transaction as the save HOT 8
- The getId method was not called HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-data-jpa.