HHH-7569 Correct test-only failures in hibernate-core-master-matrix CI
job
This commit is contained in:
parent
cb60b0259c
commit
f9c33a32b0
|
@ -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" )
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -135,6 +135,7 @@ public class Product implements java.io.Serializable {
|
|||
this.someBigInteger = someBigInteger;
|
||||
}
|
||||
|
||||
@Column( precision = 10, scale = 3)
|
||||
public BigDecimal getSomeBigDecimal() {
|
||||
return someBigDecimal;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue