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.BinaryFieldpublic void set(InputStream is, String type)
set in interface Model.BinaryFieldpublic long length()
length in interface Model.BinaryFieldpublic String type()
type in interface Model.BinaryFieldpublic boolean exists()
exists in interface Model.BinaryFieldpublic File getFile()
public String getUUID()
public Class returnedClass()
returnedClass in interface UserTypepublic boolean equals(Object o, Object o1) throws HibernateException
equals in interface UserTypeHibernateExceptionpublic int hashCode(Object o) throws HibernateException
hashCode in interface UserTypeHibernateExceptionpublic Object nullSafeGet(ResultSet resultSet, String[] names, SessionImplementor sessionImplementor, Object o) throws HibernateException, SQLException
nullSafeGet in interface UserTypeHibernateExceptionSQLExceptionpublic void nullSafeSet(PreparedStatement ps, Object o, int i, SessionImplementor sessionImplementor) throws HibernateException, SQLException
nullSafeSet in interface UserTypeHibernateExceptionSQLExceptionpublic Object deepCopy(Object o) throws HibernateException
deepCopy in interface UserTypeHibernateExceptionpublic Serializable disassemble(Object o) throws HibernateException
disassemble in interface UserTypeHibernateExceptionpublic Object assemble(Serializable cached, Object owner) throws HibernateException
assemble in interface UserTypeHibernateExceptionpublic Object replace(Object original, Object target, Object owner) throws HibernateException
replace in interface UserTypeHibernateExceptionpublic static File getStore()
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly