diff --git a/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/sequences/entities/Bunny.java b/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/sequences/entities/Bunny.java index ea0b9bffcd..bd8fbbd89a 100644 --- a/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/sequences/entities/Bunny.java +++ b/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/sequences/entities/Bunny.java @@ -8,7 +8,7 @@ //$Id: Bunny.java 14761 2008-06-11 13:51:06Z hardy.ferentschik $ package org.hibernate.orm.test.annotations.id.sequences.entities; import java.io.Serializable; -import java.math.BigDecimal; +import java.math.BigInteger; import java.util.Set; import jakarta.persistence.CascadeType; import jakarta.persistence.Column; @@ -30,20 +30,20 @@ public class Bunny implements Serializable { @Id @GeneratedValue(generator = "java5_uuid") @GenericGenerator(name = "java5_uuid", type = org.hibernate.orm.test.annotations.id.UUIDGenerator.class) - @Column(name = "id", precision = 128, scale = 0) - private BigDecimal id; + @Column(name = "id", precision = 128) + private BigInteger id; - @OneToMany(mappedBy = "bunny", cascade = { CascadeType.PERSIST }) + @OneToMany(mappedBy = "bunny", cascade = CascadeType.PERSIST) Set teeth; - @OneToMany(mappedBy = "bunny", cascade = { CascadeType.PERSIST }) + @OneToMany(mappedBy = "bunny", cascade = CascadeType.PERSIST) Set toes; public void setTeeth(Set teeth) { this.teeth = teeth; } - public BigDecimal getId() { + public BigInteger getId() { return id; } }