org.apache.cocoon.util
Class JDBCxlobHelper

java.lang.Object
  extended byorg.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:
$Id: JDBCxlobHelper.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
 InputStream inputStream
           
 int length
           
 
Constructor Summary
JDBCxlobHelper()
           
 
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-2008 The Apache Software Foundation. All Rights Reserved.