HHH-8950 Avoid useless creation of an array in #getColumnSpan(Mapping).
This commit is contained in:
parent
61fb660907
commit
bc8533366a
|
@ -151,7 +151,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 {
|
||||
|
|
Loading…
Reference in New Issue