public class Base64ByteArrayTypeDescriptor
extends org.hibernate.type.descriptor.java.AbstractTypeDescriptor<byte[]>
byte[] handling.| Modifier and Type | Field and Description |
|---|---|
static Base64ByteArrayTypeDescriptor |
INSTANCE |
| Constructor and Description |
|---|
Base64ByteArrayTypeDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areEqual(byte[] one,
byte[] another) |
int |
extractHashCode(byte[] bytes) |
byte[] |
fromString(String string) |
String |
toString(byte[] bytes) |
<X> X |
unwrap(byte[] value,
Class<X> type,
org.hibernate.type.descriptor.WrapperOptions options) |
<X> byte[] |
wrap(X value,
org.hibernate.type.descriptor.WrapperOptions options) |
public static final Base64ByteArrayTypeDescriptor INSTANCE
public boolean areEqual(byte[] one,
byte[] another)
areEqual in interface org.hibernate.type.descriptor.java.JavaTypeDescriptor<byte[]>areEqual in class org.hibernate.type.descriptor.java.AbstractTypeDescriptor<byte[]>public int extractHashCode(byte[] bytes)
extractHashCode in interface org.hibernate.type.descriptor.java.JavaTypeDescriptor<byte[]>extractHashCode in class org.hibernate.type.descriptor.java.AbstractTypeDescriptor<byte[]>public String toString(byte[] bytes)
public byte[] fromString(String string)
public <X> X unwrap(byte[] value,
Class<X> type,
org.hibernate.type.descriptor.WrapperOptions options)
public <X> byte[] wrap(X value,
org.hibernate.type.descriptor.WrapperOptions options)
Copyright © 2010–2016 Hibernate. All rights reserved.