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)
- Sometime in custom query, count query does not get triggered automatically HOT 5
- Page's content type isn't correct HOT 6
- Spring Boot 3.2.3 + Native Image Compile broken with JPA/Hibernate HOT 1
- Spring Boot 3.2.x with @Audited annotation is causing Hibernate error at application startup HOT 6
- Can not use Spring's Sort to access generic fields, using both Sort and TypedSort HOT 1
- API with Pagination giving error after spring-boot-starter-jpa version upgrade. HOT 4
- @EnableJpaRepositories(repositoryBaseClass = ...) doesn't support dependency injection HOT 9
- BadJpqlGrammarException with the latest release when using query hints inside the query HOT 5
- Unsupported Repository query return types have no hints or logs or exceptions
- Add CI build against Hibernate 6.2
- Document Query by Example does not support regex matching HOT 1
- Slice leads to an invalid parameter binding value for maxResults HOT 1
- ERROR [procedure name] is not a procedure with Postgres 12 after upgrading from Spring Boot 3.0.3 to >= 3.1.0 HOT 4
- Spring Data JPA projection to records using native queries does not work HOT 6
- potentiallyWrapWithWildcards usage is wrong in StringQuery HOT 1
- Release 3.1.11 (2023.0.11)
- Release 3.2.5 (2023.1.5)
- Release 3.3 RC1 (2024.0.0)
- Cannot use "IgnoreCase" in Spring boot data JPA with SQL server database HOT 3
- I'm curious about why SimpleJpaRepository checks twice whether the entity is in a persistent state when calling the delete method. HOT 14
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.