HHH-13591 Fixing formatting of previous patch
This commit is contained in:
parent
19ac013eeb
commit
4661efa468
|
@ -20,10 +20,10 @@ import org.hibernate.bytecode.enhance.internal.tracker.SimpleFieldTracker;
|
||||||
import org.hibernate.bytecode.enhance.spi.CollectionTracker;
|
import org.hibernate.bytecode.enhance.spi.CollectionTracker;
|
||||||
import org.hibernate.bytecode.enhance.spi.EnhancerConstants;
|
import org.hibernate.bytecode.enhance.spi.EnhancerConstants;
|
||||||
import org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor;
|
import org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor;
|
||||||
import org.hibernate.engine.spi.ExtendedSelfDirtinessTracker;
|
|
||||||
import org.hibernate.engine.spi.PersistentAttributeInterceptor;
|
|
||||||
import org.hibernate.engine.spi.CompositeOwner;
|
import org.hibernate.engine.spi.CompositeOwner;
|
||||||
import org.hibernate.engine.spi.CompositeTracker;
|
import org.hibernate.engine.spi.CompositeTracker;
|
||||||
|
import org.hibernate.engine.spi.ExtendedSelfDirtinessTracker;
|
||||||
|
import org.hibernate.engine.spi.PersistentAttributeInterceptor;
|
||||||
|
|
||||||
import net.bytebuddy.asm.Advice;
|
import net.bytebuddy.asm.Advice;
|
||||||
|
|
||||||
|
|
|
@ -144,7 +144,8 @@ public class TableBasedUpdateHandlerImpl
|
||||||
if ( assignmentParameterSpecifications[i] != null ) {
|
if ( assignmentParameterSpecifications[i] != null ) {
|
||||||
int position = 1; // jdbc params are 1-based
|
int position = 1; // jdbc params are 1-based
|
||||||
for ( ParameterSpecification assignmentParameterSpecification : assignmentParameterSpecifications[i] ) {
|
for ( ParameterSpecification assignmentParameterSpecification : assignmentParameterSpecifications[i] ) {
|
||||||
position += assignmentParameterSpecification.bind(ps, queryParameters, session, position);
|
position += assignmentParameterSpecification
|
||||||
|
.bind( ps, queryParameters, session, position );
|
||||||
}
|
}
|
||||||
handleAddedParametersOnUpdate( ps, session, position );
|
handleAddedParametersOnUpdate( ps, session, position );
|
||||||
}
|
}
|
||||||
|
|
|
@ -113,7 +113,8 @@ public class CteValuesListUpdateHandlerImpl
|
||||||
}
|
}
|
||||||
if ( assignmentParameterSpecifications[i] != null ) {
|
if ( assignmentParameterSpecifications[i] != null ) {
|
||||||
for ( ParameterSpecification assignmentParameterSpecification : assignmentParameterSpecifications[i] ) {
|
for ( ParameterSpecification assignmentParameterSpecification : assignmentParameterSpecifications[i] ) {
|
||||||
position += assignmentParameterSpecification.bind(ps, queryParameters, session, position);
|
position += assignmentParameterSpecification
|
||||||
|
.bind( ps, queryParameters, session, position );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
session
|
session
|
||||||
|
|
|
@ -104,7 +104,8 @@ public abstract class AbstractInlineIdsUpdateHandlerImpl
|
||||||
int position = 1; // jdbc params are 1-based
|
int position = 1; // jdbc params are 1-based
|
||||||
if ( assignmentParameterSpecifications[i] != null ) {
|
if ( assignmentParameterSpecifications[i] != null ) {
|
||||||
for ( ParameterSpecification assignmentParameterSpecification : assignmentParameterSpecifications[i] ) {
|
for ( ParameterSpecification assignmentParameterSpecification : assignmentParameterSpecifications[i] ) {
|
||||||
position += assignmentParameterSpecification.bind(ps, queryParameters, session, position);
|
position += assignmentParameterSpecification
|
||||||
|
.bind( ps, queryParameters, session, position );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
jdbcCoordinator.getResultSetReturn()
|
jdbcCoordinator.getResultSetReturn()
|
||||||
|
|
|
@ -91,7 +91,9 @@ public class QueryJoinFragment extends JoinFragment {
|
||||||
for ( String column : columns ) {
|
for ( String column : columns ) {
|
||||||
afterWhere.append( " and " )
|
afterWhere.append( " and " )
|
||||||
.append( alias )
|
.append( alias )
|
||||||
.append( '.' ).append(column).append(condition);
|
.append( '.' )
|
||||||
|
.append( column )
|
||||||
|
.append( condition );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,11 +8,6 @@
|
||||||
//$Id: FumTest.java 10977 2006-12-12 23:28:04Z steve.ebersole@jboss.com $
|
//$Id: FumTest.java 10977 2006-12-12 23:28:04Z steve.ebersole@jboss.com $
|
||||||
package org.hibernate.test.legacy;
|
package org.hibernate.test.legacy;
|
||||||
|
|
||||||
import static org.junit.Assert.assertEquals;
|
|
||||||
import static org.junit.Assert.assertFalse;
|
|
||||||
import static org.junit.Assert.assertNotNull;
|
|
||||||
import static org.junit.Assert.assertTrue;
|
|
||||||
|
|
||||||
import java.io.ByteArrayInputStream;
|
import java.io.ByteArrayInputStream;
|
||||||
import java.io.ByteArrayOutputStream;
|
import java.io.ByteArrayOutputStream;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
@ -21,7 +16,6 @@ import java.io.ObjectOutputStream;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.sql.SQLException;
|
import java.sql.SQLException;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Calendar;
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
|
@ -51,18 +45,22 @@ import org.hibernate.dialect.MySQLDialect;
|
||||||
import org.hibernate.dialect.PointbaseDialect;
|
import org.hibernate.dialect.PointbaseDialect;
|
||||||
import org.hibernate.dialect.SybaseASE15Dialect;
|
import org.hibernate.dialect.SybaseASE15Dialect;
|
||||||
import org.hibernate.dialect.TimesTenDialect;
|
import org.hibernate.dialect.TimesTenDialect;
|
||||||
|
|
||||||
import org.hibernate.testing.DialectChecks;
|
|
||||||
import org.hibernate.testing.RequiresDialectFeature;
|
|
||||||
import org.hibernate.testing.SkipForDialect;
|
|
||||||
import org.hibernate.transform.Transformers;
|
import org.hibernate.transform.Transformers;
|
||||||
import org.hibernate.type.CalendarType;
|
|
||||||
import org.hibernate.type.EntityType;
|
import org.hibernate.type.EntityType;
|
||||||
import org.hibernate.type.StandardBasicTypes;
|
import org.hibernate.type.StandardBasicTypes;
|
||||||
import org.hibernate.type.StringType;
|
import org.hibernate.type.StringType;
|
||||||
import org.hibernate.type.Type;
|
import org.hibernate.type.Type;
|
||||||
|
|
||||||
|
import org.hibernate.testing.DialectChecks;
|
||||||
|
import org.hibernate.testing.RequiresDialectFeature;
|
||||||
|
import org.hibernate.testing.SkipForDialect;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
|
import static org.junit.Assert.assertEquals;
|
||||||
|
import static org.junit.Assert.assertFalse;
|
||||||
|
import static org.junit.Assert.assertNotNull;
|
||||||
|
import static org.junit.Assert.assertTrue;
|
||||||
|
|
||||||
@RequiresDialectFeature(DialectChecks.SupportsNoColumnInsert.class)
|
@RequiresDialectFeature(DialectChecks.SupportsNoColumnInsert.class)
|
||||||
public class FumTest extends LegacyTestCase {
|
public class FumTest extends LegacyTestCase {
|
||||||
private static short fumKeyShort = 1;
|
private static short fumKeyShort = 1;
|
||||||
|
|
|
@ -6,16 +6,14 @@
|
||||||
*/
|
*/
|
||||||
package org.hibernate.test.schemaupdate;
|
package org.hibernate.test.schemaupdate;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.List;
|
||||||
import javax.persistence.Column;
|
import javax.persistence.Column;
|
||||||
import javax.persistence.Embeddable;
|
import javax.persistence.Embeddable;
|
||||||
import javax.persistence.EmbeddedId;
|
import javax.persistence.EmbeddedId;
|
||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
import javax.persistence.ManyToOne;
|
import javax.persistence.ManyToOne;
|
||||||
import javax.persistence.Table;
|
import javax.persistence.Table;
|
||||||
import java.io.Serializable;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import org.apache.log4j.Logger;
|
|
||||||
|
|
||||||
import org.hibernate.annotations.ForeignKey;
|
import org.hibernate.annotations.ForeignKey;
|
||||||
import org.hibernate.boot.MetadataSources;
|
import org.hibernate.boot.MetadataSources;
|
||||||
|
@ -23,9 +21,10 @@ import org.hibernate.boot.registry.StandardServiceRegistry;
|
||||||
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
|
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
|
||||||
import org.hibernate.tool.schema.internal.SchemaCreatorImpl;
|
import org.hibernate.tool.schema.internal.SchemaCreatorImpl;
|
||||||
|
|
||||||
|
import org.hibernate.testing.TestForIssue;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import org.hibernate.testing.TestForIssue;
|
import org.apache.log4j.Logger;
|
||||||
|
|
||||||
import static org.junit.Assert.assertTrue;
|
import static org.junit.Assert.assertTrue;
|
||||||
import static org.junit.Assert.fail;
|
import static org.junit.Assert.fail;
|
||||||
|
|
|
@ -35,8 +35,6 @@ import javax.persistence.ManyToOne;
|
||||||
import javax.persistence.OneToMany;
|
import javax.persistence.OneToMany;
|
||||||
import javax.persistence.Table;
|
import javax.persistence.Table;
|
||||||
|
|
||||||
import org.junit.Test;
|
|
||||||
|
|
||||||
import org.hibernate.Hibernate;
|
import org.hibernate.Hibernate;
|
||||||
import org.hibernate.Session;
|
import org.hibernate.Session;
|
||||||
import org.hibernate.Transaction;
|
import org.hibernate.Transaction;
|
||||||
|
@ -45,8 +43,10 @@ import org.hibernate.annotations.Fetch;
|
||||||
import org.hibernate.annotations.FetchMode;
|
import org.hibernate.annotations.FetchMode;
|
||||||
import org.hibernate.cfg.Configuration;
|
import org.hibernate.cfg.Configuration;
|
||||||
import org.hibernate.cfg.Environment;
|
import org.hibernate.cfg.Environment;
|
||||||
|
|
||||||
import org.hibernate.testing.TestForIssue;
|
import org.hibernate.testing.TestForIssue;
|
||||||
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
||||||
|
import org.junit.Test;
|
||||||
|
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
import static org.junit.Assert.assertFalse;
|
import static org.junit.Assert.assertFalse;
|
||||||
|
|
Loading…
Reference in New Issue