Remove redundant methods `isBatchLoadable()`

The method implementation is identical to default method
This commit is contained in:
Yanming Zhou 2024-09-06 15:45:26 +08:00 committed by Gavin King
parent 8a88ad7f59
commit cb0268a618
2 changed files with 0 additions and 10 deletions

View File

@ -1482,11 +1482,6 @@ public abstract class AbstractCollectionPersister
return batchSize;
}
@Override
public boolean isBatchLoadable() {
return batchSize > 1;
}
@Override
public String getMappedByProperty() {
return mappedByProperty;

View File

@ -1680,11 +1680,6 @@ public abstract class AbstractEntityPersister
return getPropertySpaces();
}
@Override
public boolean isBatchLoadable() {
return batchSize > 1;
}
@Override
public int getBatchSize() {
return batchSize;