HHH-8950 Avoid useless creation of an array in #getColumnSpan(Mapping).

This commit is contained in:
Andrej Golovnin 2014-02-04 22:05:06 +01:00 committed by Brett Meyer
parent 7d828b1d25
commit 8ec3c4a89f
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ public abstract class AbstractStandardBasicType<T>
}
public final int getColumnSpan(Mapping mapping) throws MappingException {
return sqlTypes( mapping ).length;
return 1;
}
public final int[] sqlTypes(Mapping mapping) throws MappingException {