Comments (5)
FWIW, Spring Framework 6 is expected to go GA in mid-November. The new Reactor Core 3.5 will be GA early November, allowing R2DBC drivers to upgrade in time to be included in the Spring Framework 6 /Spring Boot 3 support.
from oracle-r2dbc.
Hi @rathoreamrsingh. Very sorry to see this error yet again! I believe it is a duplicate of #89. Can you check what I wrote there and see if it helps?
from oracle-r2dbc.
Hi @Michael-A-McMahon
Thanks a lot for the pointer.
I tried upgrading all the dependencies.
But this doesn't seems to be working.
Do you have any sample project where version 1.0.0 is working I can take some hint from there.
By the way below is my build gradle file which I am using for my project.
Please have a look and let me know what I am doing wrong.
plugins {
id 'org.springframework.boot' version '2.7.2'
id 'io.spring.dependency-management' version '1.0.12.RELEASE'
id 'java'
}
group = '<group>'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories {
maven {
url "https://nexus/repository/maven-public/"
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
dependencies {
implementation ('org.springframework.boot:spring-boot-starter-actuator:2.7.4') {
exclude group: 'org.springframework.boot', module: 'spring-boot'
}
implementation 'org.springframework.boot:spring-boot:2.7.4'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa:2.7.4'
implementation ('org.springframework.boot:spring-boot-starter-data-r2dbc:2.7.4') {
exclude group: 'io.r2dbc', module: 'r2dbc-spi'
exclude group: 'io.r2dbc', module: 'r2dbc-pool'
exclude group: 'org.springframework.data', module: 'spring-data-r2dbc'
exclude group: 'io.projectreactor', module: 'reactor-core'
exclude group: 'org.springframework.boot', module: 'spring-boot-starter'
}
implementation 'io.r2dbc:r2dbc-spi:1.0.0.RELEASE'
implementation 'org.springframework.boot:spring-boot-starter:2.7.4'
implementation ('io.r2dbc:r2dbc-pool:1.0.0.RC1') {
exclude group: 'io.projectreactor', module: 'reactor-core'
}
implementation ('org.springframework.data:spring-data-r2dbc:1.5.3') {
exclude group: 'org.springframework', module: 'spring-r2dbc'
exclude group: 'io.r2dbc', module: 'r2dbc-spi'
exclude group: 'io.projectreactor', module: 'reactor-core'
exclude group: 'org.springframework.data', module: 'spring-data-commons'
exclude group: 'org.springframework.data', module: 'spring-data-relational'
exclude group: 'org.springframework', module: 'spring-tx'
exclude group: 'org.springframework', module: 'spring-context'
exclude group: 'org.springframework', module: 'spring-beans'
exclude group: 'org.springframework', module: 'spring-core'
}
implementation 'org.springframework.data:spring-data-commons:2.7.3'
implementation 'org.springframework.data:spring-data-relational:2.4.3'
implementation 'org.springframework:spring-tx:5.3.23'
implementation 'org.springframework:spring-context:5.3.23'
implementation 'org.springframework:spring-beans:5.3.23'
implementation 'org.springframework:spring-core:5.3.23'
implementation ('org.springframework:spring-r2dbc:5.3.23') {
exclude group: 'io.r2dbc', module: 'r2dbc-spi'
exclude group: 'io.projectreactor', module: 'reactor-core'
}
implementation 'io.projectreactor:reactor-core:3.4.23'
implementation ('com.oracle.database.r2dbc:oracle-r2dbc:1.0.0') {
exclude group: 'com.oracle.database.jdbc', module: 'ojdbc11'
exclude group: 'io.projectreactor', module: 'reactor-core'
}
implementation ('org.springframework.boot:spring-boot-starter-webflux') {
exclude group: 'io.projectreactor', module: 'reactor-core'
exclude group: 'org.springframework.boot', module: 'spring-boot-starter'
}
implementation files('./lib/eagle_commons-0.0.1-SNAPSHOT-plain.jar')
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
annotationProcessor 'org.projectlombok:lombok'
implementation ('sg.com.gic:crypto-lib:1.0.5') {
exclude group: 'slf4j', module: 'slf4j-api'
exclude group: 'ch.qos.logback', module: 'logback-core'
exclude group: 'ch.qos.logback', module: 'logback-classic'
}
implementation group: 'com.oracle.database.jdbc', name: 'ojdbc11', version: '21.7.0.0'
implementation group: 'org.springdoc', name: 'springdoc-openapi-webflux-ui', version: '1.6.11'
implementation group: 'org.modelmapper', name: 'modelmapper', version: '3.1.0'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'io.projectreactor:reactor-test'
}
tasks.named('test') {
useJUnitPlatform()
}
from oracle-r2dbc.
It looks like you may need to stay on the 0.4.0 release for now, as it is the only version compatible with Spring Data R2DBC. However, it looks like a new release of Spring Data is on the way which will be compatible with Oracle R2DBC 1.0.0. Keep an eye on #89 to see what we find.
from oracle-r2dbc.
Also see #89 (comment)
from oracle-r2dbc.
Related Issues (20)
- Sample Bug: r2dbc version
- option(OracleR2dbcOptions.TLS_SERVER_DN_MATCH, "false") does not work HOT 3
- Issue with the OracleR2dbcOptions.Executor option HOT 2
- Maven Repository v1.1.0 HOT 4
- Error occurs if ConnectionFactoryOptions.PROTOCOL option is an empty string HOT 1
- Oracle Descriptor Option HOT 2
- Support RETURNING * INTO HOT 2
- Unsupported Java type:class java.util.ArrayList exception when using IN clause in sql HOT 1
- Can not find oracle-r2dbc-1.1.1.pom HOT 2
- Support DML Returning for JSON Views
- Does r2dbc connection string support oracle failover ? HOT 14
- Add support to set "oracle.net.kerberos5_cc_name" programmatically (for multi datasource scenarios) HOT 1
- Issue with microservice using r2dbc oracle inside kubernetes cluster. (Request timeouts) HOT 13
- Operator has been terminated issue with RowsFetchSpec and Spring DatabaseClient HOT 6
- How to configure SECURITY=(SSL_SERVER_CERT_DN) Option in R2dbc connection String with Descriptor HOT 2
- OracleReactiveJdbcAdaptor.publishConnection should timeout if Oracle JDBC connection publisher does not resolve HOT 1
- Add JavaDoc to CI Runs
- R2DBC treating warning as exception HOT 8
- Caused by: io.r2dbc.spi.R2dbcBadGrammarException: ORA-00923 HOT 5
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 oracle-r2dbc.