File
Doc
Category
Size
Date
Package
BinaryType.java
API Doc
Hibernate 3.2.5
509
Fri Jun 09 22:24:06 BST 2006
org.hibernate.type
BinaryType
java.lang.Object
AbstractBynaryType
public class BinaryType extends AbstractBynaryType
binary
: A type that maps an SQL VARBINARY to a Java byte[].
author
Gavin King
Fields Summary
Constructors Summary
Methods Summary
public
java.lang.String
getName
()
return "binary";
public
java.lang.Class
getReturnedClass
()
return byte[].class;
protected
java.lang.Object
toExternalFormat
(
byte[]
bytes)
return bytes;
protected
byte
[]
toInternalFormat
(
java.lang.Object
bytes)
return (byte[]) bytes;
Java Code Source