public class Blob extends Object implements Model.BinaryField, UserType
Constructor and Description |
---|
Blob() |
Modifier and Type | Method and Description |
---|---|
Object |
assemble(Serializable cached,
Object owner) |
Object |
deepCopy(Object o) |
Serializable |
disassemble(Object o) |
boolean |
equals(Object o,
Object o1) |
boolean |
exists() |
InputStream |
get() |
File |
getFile() |
static File |
getStore() |
String |
getUUID() |
static String |
getUUID(String dbValue) |
int |
hashCode(Object o) |
boolean |
isMutable() |
long |
length() |
Object |
nullSafeGet(ResultSet resultSet,
String[] names,
SessionImplementor sessionImplementor,
Object o) |
void |
nullSafeSet(PreparedStatement ps,
Object o,
int i,
SessionImplementor sessionImplementor) |
Object |
replace(Object original,
Object target,
Object owner) |
Class |
returnedClass() |
void |
set(InputStream is,
String type) |
int[] |
sqlTypes() |
String |
type() |
public InputStream get()
get
in interface Model.BinaryField
public void set(InputStream is, String type)
set
in interface Model.BinaryField
public long length()
length
in interface Model.BinaryField
public String type()
type
in interface Model.BinaryField
public boolean exists()
exists
in interface Model.BinaryField
public File getFile()
public String getUUID()
public Class returnedClass()
returnedClass
in interface UserType
public boolean equals(Object o, Object o1) throws HibernateException
equals
in interface UserType
HibernateException
public int hashCode(Object o) throws HibernateException
hashCode
in interface UserType
HibernateException
public Object nullSafeGet(ResultSet resultSet, String[] names, SessionImplementor sessionImplementor, Object o) throws HibernateException, SQLException
nullSafeGet
in interface UserType
HibernateException
SQLException
public void nullSafeSet(PreparedStatement ps, Object o, int i, SessionImplementor sessionImplementor) throws HibernateException, SQLException
nullSafeSet
in interface UserType
HibernateException
SQLException
public Object deepCopy(Object o) throws HibernateException
deepCopy
in interface UserType
HibernateException
public Serializable disassemble(Object o) throws HibernateException
disassemble
in interface UserType
HibernateException
public Object assemble(Serializable cached, Object owner) throws HibernateException
assemble
in interface UserType
HibernateException
public Object replace(Object original, Object target, Object owner) throws HibernateException
replace
in interface UserType
HibernateException
public static File getStore()
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly