From cac8b0d8c56bdf2559f7d78934e1d1e56eaba1f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bobo=20H=C3=A4ggstr=C3=B6m?= Date: Mon, 30 Nov 2015 14:56:20 +0100 Subject: [PATCH] HHH-10343 Fixed precision and scale for elements of basic types in persistent collections --- .../internal/hbm/PluralAttributeElementSourceBasicImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/PluralAttributeElementSourceBasicImpl.java b/hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/PluralAttributeElementSourceBasicImpl.java index e8af40fca0..493ed9f3a3 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/PluralAttributeElementSourceBasicImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/PluralAttributeElementSourceBasicImpl.java @@ -75,8 +75,8 @@ public class PluralAttributeElementSourceBasicImpl public SizeSource getSizeSource() { return Helper.interpretSizeSource( jaxbElement.getLength(), - jaxbElement.getPrecision(), - jaxbElement.getScale() + jaxbElement.getScale(), + jaxbElement.getPrecision() ); } }