org.hibernate.test.lob
Class LobHolder

java.lang.Object
  extended by org.hibernate.test.lob.LobHolder

public class LobHolder
extends Object

An entity containing all kinds of good LOB-type data...

clobLocator is used to hold CLOB data that is materialized lazily via a JDBC CLOB locator; it is mapped via the ClobType

blobLocator is used to hold BLOB data that is materialized lazily via a JDBC BLOB locator; it is mapped via the BlobType


Constructor Summary
LobHolder()
           
 
Method Summary
 Blob getBlobLocator()
           
 Clob getClobLocator()
           
 Long getId()
           
 void setBlobLocator(Blob blobLocator)
           
 void setClobLocator(Clob clobLocator)
           
 void setId(Long id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LobHolder

public LobHolder()
Method Detail

getId

public Long getId()

setId

public void setId(Long id)

getClobLocator

public Clob getClobLocator()

setClobLocator

public void setClobLocator(Clob clobLocator)

getBlobLocator

public Blob getBlobLocator()

setBlobLocator

public void setBlobLocator(Blob blobLocator)


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.