-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Spring 1.4.2 Bug #7486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
status: duplicate
A duplicate of another issue
Comments
My build.gradle file: buildscript {
ext {
springBootVersion = '1.4.2.RELEASE'
}
// ext['hibernate.version'] = '5.2.+'
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'eclipse-wtp'
//apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'war'
war {
baseName = 'carpool-rest'
version = '0.0.1-SNAPSHOT'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
configurations {
providedRuntime
compile.exclude module: 'spring-boot-starter-logging'
}
task wrapper(type: Wrapper) {
gradleVersion = '3.2'
}
dependencies {
/////DEV
//compile('org.springframework.boot:spring-boot-devtools')
runtime('com.h2database:h2')
////////
//TEMP dependency for backward compability
compile('com.googlecode.json-simple:json-simple:1.1.1')
//
compile('org.modelmapper:modelmapper:0.7.+')
compile('org.apache.commons:commons-lang3:3.+')
compile('io.springfox:springfox-swagger2:2.+')
compile('io.springfox:springfox-swagger-ui:2.+')
compile('io.springfox:springfox-bean-validators:2.+')
compile('org.springframework.boot:spring-boot-starter-data-jpa')
compile('org.springframework.boot:spring-boot-starter-data-rest')
compile('org.springframework.boot:spring-boot-starter-security')
compile('org.springframework.boot:spring-boot-starter-validation')
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.springframework.boot:spring-boot-starter-log4j2')
compile('org.springframework.security.oauth:spring-security-oauth2')
compile('org.hibernate:hibernate-java8')
compileOnly "org.projectlombok:lombok"
compile("com.fasterxml.jackson.datatype:jackson-datatype-jsr310")
providedRuntime('org.springframework.boot:spring-boot-starter-tomcat')
runtime('mysql:mysql-connector-java')
//testCompile('org.springframework.boot:spring-boot-starter-test')
//testCompile('org.springframework.restdocs:spring-restdocs-mockmvc')
//testCompile 'io.springfox:springfox-staticdocs:2.4.+'
}
bootRun {
jvmArgs = ["-server", "-XX:+ScavengeBeforeFullGC", "-XX:+HeapDumpOnOutOfMemoryError"]
}
eclipse.classpath.downloadJavadoc = true |
This problem occurs only with Mysql DB, but not h2 |
Duplicates #7360 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I've found regression bug in Spring Boot 1.4.2 version, there is no problem when I'm using 1.4.1.
This exception I caught, when I tried to persist an Entity to DB.
The text was updated successfully, but these errors were encountered: