HHH-7569 Correct test-only failures in hibernate-core-master-matrix CI

job
This commit is contained in:
brmeyer 2012-09-18 04:31:41 -04:00
parent cb60b0259c
commit f9c33a32b0
3 changed files with 3 additions and 2 deletions

View File

@ -253,8 +253,8 @@ public class QueryBuilderTest extends BaseEntityManagerFunctionalTestCase {
cb.function(
"substring",
String.class,
cb.literal( 1 ),
root.get( Customer_.name ),
cb.literal( 1 ),
cb.literal( 1 )
),
cb.literal( "a" )

View File

@ -76,7 +76,7 @@ public class TreatKeywordTest extends BaseEntityManagerFunctionalTestCase {
criteria.where(
builder.equal(
builder.treat( root, Human.class ).get( "name" ),
2
"2"
)
);
em.createQuery( criteria ).getResultList();

View File

@ -135,6 +135,7 @@ public class Product implements java.io.Serializable {
this.someBigInteger = someBigInteger;
}
@Column( precision = 10, scale = 3)
public BigDecimal getSomeBigDecimal() {
return someBigDecimal;
}