HHH-16333 Get rid of special Character[] and Byte[] handling
This commit is contained in:
parent
fff45e05ea
commit
d5e0f064ac
|
@ -13,9 +13,11 @@ import jakarta.persistence.Entity;
|
|||
import jakarta.persistence.Id;
|
||||
import jakarta.persistence.Table;
|
||||
|
||||
import org.hibernate.annotations.JavaType;
|
||||
import org.hibernate.dialect.MySQLDialect;
|
||||
import org.hibernate.dialect.OracleDialect;
|
||||
import org.hibernate.query.Query;
|
||||
import org.hibernate.type.descriptor.java.ByteArrayJavaType;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.hibernate.testing.orm.junit.DomainModel;
|
||||
|
@ -127,6 +129,7 @@ public class ByteArrayIdTest {
|
|||
@Table(name = "DemoEntity")
|
||||
public static class DemoEntity {
|
||||
@Id
|
||||
@JavaType( ByteArrayJavaType.class )
|
||||
public Byte[] id;
|
||||
public String name;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue