HHH-13265 - Remove double semicolon
This commit is contained in:
parent
6be091038d
commit
69af6caa95
|
@ -90,7 +90,7 @@ public class AutoFlushTest extends BaseEntityManagerFunctionalTestCase {
|
||||||
@Test
|
@Test
|
||||||
public void testFlushAutoSQL() {
|
public void testFlushAutoSQL() {
|
||||||
doInJPA( this::entityManagerFactory, entityManager -> {
|
doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
entityManager.createNativeQuery( "delete from Person" ).executeUpdate();;
|
entityManager.createNativeQuery( "delete from Person" ).executeUpdate();
|
||||||
} );
|
} );
|
||||||
doInJPA( this::entityManagerFactory, entityManager -> {
|
doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
log.info( "testFlushAutoSQL" );
|
log.info( "testFlushAutoSQL" );
|
||||||
|
@ -112,7 +112,7 @@ public class AutoFlushTest extends BaseEntityManagerFunctionalTestCase {
|
||||||
@Test
|
@Test
|
||||||
public void testFlushAutoSQLNativeSession() {
|
public void testFlushAutoSQLNativeSession() {
|
||||||
doInJPA( this::entityManagerFactory, entityManager -> {
|
doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
entityManager.createNativeQuery( "delete from Person" ).executeUpdate();;
|
entityManager.createNativeQuery( "delete from Person" ).executeUpdate();
|
||||||
} );
|
} );
|
||||||
doInJPA( this::entityManagerFactory, entityManager -> {
|
doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
log.info( "testFlushAutoSQLNativeSession" );
|
log.info( "testFlushAutoSQLNativeSession" );
|
||||||
|
@ -143,7 +143,7 @@ public class AutoFlushTest extends BaseEntityManagerFunctionalTestCase {
|
||||||
@Test
|
@Test
|
||||||
public void testFlushAutoSQLSynchronization() {
|
public void testFlushAutoSQLSynchronization() {
|
||||||
doInJPA( this::entityManagerFactory, entityManager -> {
|
doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
entityManager.createNativeQuery( "delete from Person" ).executeUpdate();;
|
entityManager.createNativeQuery( "delete from Person" ).executeUpdate();
|
||||||
} );
|
} );
|
||||||
doInJPA( this::entityManagerFactory, entityManager -> {
|
doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
log.info( "testFlushAutoSQLSynchronization" );
|
log.info( "testFlushAutoSQLSynchronization" );
|
||||||
|
|
|
@ -39,7 +39,7 @@ public class HibernateAutoFlushTest extends BaseNonConfigCoreFunctionalTestCase
|
||||||
@Test
|
@Test
|
||||||
public void testFlushAutoSQLNativeSession() {
|
public void testFlushAutoSQLNativeSession() {
|
||||||
doInHibernate( this::sessionFactory, session -> {
|
doInHibernate( this::sessionFactory, session -> {
|
||||||
session.createNativeQuery( "delete from Person" ).executeUpdate();;
|
session.createNativeQuery( "delete from Person" ).executeUpdate();
|
||||||
} );
|
} );
|
||||||
doInHibernate( this::sessionFactory, session -> {
|
doInHibernate( this::sessionFactory, session -> {
|
||||||
log.info( "testFlushAutoSQLNativeSession" );
|
log.info( "testFlushAutoSQLNativeSession" );
|
||||||
|
|
|
@ -79,7 +79,7 @@ public class ClassFileArchiveEntryHandler implements ArchiveEntryHandler {
|
||||||
}
|
}
|
||||||
|
|
||||||
private ClassDescriptor toClassDescriptor(ClassFile classFile, ArchiveEntry entry) {
|
private ClassDescriptor toClassDescriptor(ClassFile classFile, ArchiveEntry entry) {
|
||||||
ClassDescriptor.Categorization categorization = ClassDescriptor.Categorization.OTHER;;
|
ClassDescriptor.Categorization categorization = ClassDescriptor.Categorization.OTHER;
|
||||||
|
|
||||||
final AnnotationsAttribute visibleAnnotations = (AnnotationsAttribute) classFile.getAttribute( AnnotationsAttribute.visibleTag );
|
final AnnotationsAttribute visibleAnnotations = (AnnotationsAttribute) classFile.getAttribute( AnnotationsAttribute.visibleTag );
|
||||||
if ( visibleAnnotations != null ) {
|
if ( visibleAnnotations != null ) {
|
||||||
|
|
|
@ -2831,7 +2831,7 @@ public class ModelBinder {
|
||||||
}
|
}
|
||||||
|
|
||||||
String typeName = typeSource.getName();
|
String typeName = typeSource.getName();
|
||||||
Properties typeParameters = new Properties();;
|
Properties typeParameters = new Properties();
|
||||||
|
|
||||||
final TypeDefinition typeDefinition = sourceDocument.getMetadataCollector().getTypeDefinition( typeName );
|
final TypeDefinition typeDefinition = sourceDocument.getMetadataCollector().getTypeDefinition( typeName );
|
||||||
if ( typeDefinition != null ) {
|
if ( typeDefinition != null ) {
|
||||||
|
|
|
@ -30,8 +30,8 @@ public class TableSourceImpl extends AbstractHbmSourceNode implements TableSourc
|
||||||
String comment,
|
String comment,
|
||||||
String checkConstraint) {
|
String checkConstraint) {
|
||||||
super( mappingDocument );
|
super( mappingDocument );
|
||||||
this.explicitCatalog = determineCatalogName( mappingDocument, explicitCatalog );;
|
this.explicitCatalog = determineCatalogName( mappingDocument, explicitCatalog );
|
||||||
this.explicitSchema = determineSchemaName( mappingDocument, explicitSchema );;
|
this.explicitSchema = determineSchemaName( mappingDocument, explicitSchema );
|
||||||
this.explicitTableName = explicitTableName;
|
this.explicitTableName = explicitTableName;
|
||||||
this.rowId = rowId;
|
this.rowId = rowId;
|
||||||
this.comment = comment;
|
this.comment = comment;
|
||||||
|
|
|
@ -46,5 +46,5 @@ public interface CallableStatementSupport {
|
||||||
CallableStatement statement,
|
CallableStatement statement,
|
||||||
ParameterStrategy parameterStrategy,
|
ParameterStrategy parameterStrategy,
|
||||||
List<ParameterRegistrationImplementor<?>> parameterRegistrations,
|
List<ParameterRegistrationImplementor<?>> parameterRegistrations,
|
||||||
SharedSessionContractImplementor session);;
|
SharedSessionContractImplementor session);
|
||||||
}
|
}
|
||||||
|
|
|
@ -280,7 +280,7 @@ public class JdbcResourceLocalTransactionCoordinatorImpl implements TransactionC
|
||||||
rollback();
|
rollback();
|
||||||
}
|
}
|
||||||
catch (RuntimeException e2) {
|
catch (RuntimeException e2) {
|
||||||
log.debug( "Encountered failure rolling back failed commit", e2 );;
|
log.debug( "Encountered failure rolling back failed commit", e2 );
|
||||||
}
|
}
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@ public class Parent {
|
||||||
private List<CorrectChild> correctChildren = new ArrayList<CorrectChild>();
|
private List<CorrectChild> correctChildren = new ArrayList<CorrectChild>();
|
||||||
|
|
||||||
@OneToMany(mappedBy = "id.parent")
|
@OneToMany(mappedBy = "id.parent")
|
||||||
private List<IncorrectChild> incorrectChildren = new ArrayList<IncorrectChild>();;
|
private List<IncorrectChild> incorrectChildren = new ArrayList<IncorrectChild>();
|
||||||
|
|
||||||
Parent() {
|
Parent() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue