mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-26 13:25:19 +00:00
fix checkstyle errors
This commit is contained in:
parent
37df2bac74
commit
814d0c260b
@ -1215,7 +1215,7 @@ public void sort(List<AbstractEntityInsertAction> insertions) {
|
||||
|
||||
if ( iterations > maxIterations ) {
|
||||
LOG.warn( "The batch containing " + latestBatches.size() + " statements could not be sorted after " + maxIterations + " iterations. " +
|
||||
"This might indicate a circular entity relationship." );
|
||||
"This might indicate a circular entity relationship." );
|
||||
}
|
||||
|
||||
// Now, rebuild the insertions list. There is a batch for each entry in the name list.
|
||||
|
@ -223,7 +223,7 @@ public void afterLoad(SharedSessionContractImplementor session, Object entity, L
|
||||
( (Session) session ).buildLockRequest( lockOptionsToUse )
|
||||
.lock( persister.getEntityName(), entity );
|
||||
}
|
||||
}
|
||||
}
|
||||
);
|
||||
parameters.setLockOptions( new LockOptions() );
|
||||
return sql;
|
||||
|
@ -552,8 +552,8 @@ public Type getTypeUsingProjection(Criteria subcriteria, String propertyName)
|
||||
//first look for a reference to a projection alias
|
||||
final Projection projection = rootCriteria.getProjection();
|
||||
Type[] projectionTypes = projection == null ?
|
||||
null :
|
||||
projection.getTypes( propertyName, subcriteria, this );
|
||||
null :
|
||||
projection.getTypes( propertyName, subcriteria, this );
|
||||
|
||||
if ( projectionTypes == null ) {
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user