org.hibernate.test.annotations.lob
Class ImageHolder
java.lang.Object
org.hibernate.test.annotations.lob.ImageHolder
@Entity
public class ImageHolder
- extends Object
An entity containing data that is materialized into a byte array immediately.
The hibernate type mapped for longByteArray
determines the SQL type
asctually used.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageHolder
public ImageHolder()
getId
public Long getId()
setId
public void setId(Long id)
getLongByteArray
public byte[] getLongByteArray()
setLongByteArray
public void setLongByteArray(byte[] longByteArray)
getDog
public Dog getDog()
setDog
public void setDog(Dog dog)
getPicByteArray
public Byte[] getPicByteArray()
setPicByteArray
public void setPicByteArray(Byte[] picByteArray)
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.