Skip to content

Commit

Permalink
HHH-11108 - Add test to prove that @basic( fetch = FetchType.LAZY ) r…
Browse files Browse the repository at this point in the history
…eally works as expected

Roll back changes since we already have the JpaRuntimeEnhancementTest to prove this works and it does not use build-time enhancement
  • Loading branch information
vladmihalcea committed Sep 22, 2016
1 parent f521017 commit dda90ef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 106 deletions.
23 changes: 0 additions & 23 deletions documentation/documentation.gradle
Expand Up @@ -30,18 +30,6 @@ apply plugin: 'hibernate-matrix-testing'

apply from: "${rootProject.projectDir}/utilities.gradle"

apply plugin: 'org.hibernate.orm'

// Java 9 ftw!
if ( !JavaVersion.current().isJava9Compatible() ) {
hibernate {
enhance {
enableLazyInitialization = true
}
}
}


defaultTasks 'buildDocs'

configurations {
Expand Down Expand Up @@ -120,17 +108,6 @@ dependencies {
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}

if ( JavaVersion.current().isJava9Compatible() ) {
logger.warn( '[WARN] Skipping Javassist-related tests for hibernate-core due to Javassist JDK 9 incompatibility' )

// we need to exclude tests using Javassist enhancement, which does not properly support
// Java 9 yet - https://issues.jboss.org/browse/JASSIST-261
test {
// rather than wild-cards, keep an explicit list
exclude 'org/hibernate/userguide/fetching/LazyBasicAttributeTest.class'
}
}

processTestResources.doLast( {
copy {
from( sourceSets.test.java.srcDirs ) {
Expand Down

This file was deleted.

0 comments on commit dda90ef

Please sign in to comment.