GithubHelp home page GithubHelp logo

Comments (5)

mp911de avatar mp911de commented on June 9, 2024 1

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.

Michael-A-McMahon avatar Michael-A-McMahon commented on June 9, 2024

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.

rathoreamrsingh avatar rathoreamrsingh commented on June 9, 2024

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.

Michael-A-McMahon avatar Michael-A-McMahon commented on June 9, 2024

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.

Michael-A-McMahon avatar Michael-A-McMahon commented on June 9, 2024

Also see #89 (comment)

from oracle-r2dbc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.