HHH-12390 - Add hibernate-jipijapa for integrating with WildFly

- checkstyle fixups
- adjust checkstyle to allow up to 5 newlines at the end of the file (1 to 5)
- fixed bad 4.6 Gradle wrapper version (cant load builds)
This commit is contained in:
Steve Ebersole 2018-03-26 11:41:35 -05:00
parent f5bb8a1f93
commit 93d9162243
5 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@ -88,9 +88,9 @@ public class HibernateEntityCacheStatistics extends HibernateAbstractStatistics
if ( sessionFactory != null ) {
// The entity class name is prefixed by the application scoped persistence unit name
return sessionFactory.getStatistics().getSecondLevelCacheStatistics( scopedPersistenceUnitName + "." +
pathAddress.getValue(
HibernateStatistics.ENTITYCACHE ) );
return sessionFactory.getStatistics().getSecondLevelCacheStatistics(
scopedPersistenceUnitName + "." + pathAddress.getValue( HibernateStatistics.ENTITYCACHE )
);
}
return null;
}

View File

@ -8,4 +8,4 @@
@NamedQuery(name = "allCarpet", query = "select c from Carpet c")
package org.hibernate.jpa.test.pack.explodedpar;
import org.hibernate.annotations.NamedQuery;
import org.hibernate.annotations.NamedQuery;

View File

@ -9,4 +9,4 @@
query = "select m from ApplicationServer m")
package org.hibernate.jpa.test.pack.war;
import org.hibernate.annotations.NamedQuery;
import org.hibernate.annotations.NamedQuery;

View File

@ -75,8 +75,8 @@
</module>
<module name="RegexpMultiline">
<property name="format" value="\S\r?\n(\r?\n)+\z" />
<property name="message" value="Only one new line is allowed at the end of a file" />
<property name="format" value="\S(r?\n){5,}\z" />
<property name="message" value="Files should end with no more than 5 (empty) new lines" />
</module>