org.apache.cocoon.util
Class JDBCxlobHelper

java.lang.Object
  extended by org.apache.cocoon.util.JDBCxlobHelper

public class JDBCxlobHelper
extends Object

Helper to pass a length plus an InputStream to JDBCTypeConversions to insert BLOB (setBinaryStream) or CLOB (setAsciiStream) via data using org.apache.cocoon.acting.modular.DatabaseAction. Create an input module that returns an instance of this class and use that in your database.xml

Version:
CVS $Id: JDBCxlobHelper.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Field Summary
 InputStream inputStream
           
 int length
           
 
Constructor Summary
JDBCxlobHelper()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

length

public int length

inputStream

public InputStream inputStream
Constructor Detail

JDBCxlobHelper

public JDBCxlobHelper()


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.