org.apache.ojb.broker.platforms
Class Oracle9iLobHandler

java.lang.Object
  extended by org.apache.ojb.broker.platforms.Oracle9iLobHandler

public class Oracle9iLobHandler
extends java.lang.Object

Handles the Oracle LOB problems for 9i.

Version:
CVS $Id: Oracle9iLobHandler.java 365232 2005-12-21 22:36:07Z tomdz $
Author:
Matthew Baird, Erik Forkalsrud, Martin Kalén

Constructor Summary
Oracle9iLobHandler()
           
 
Method Summary
static byte[] convertBLOBtoByteArray(java.sql.Connection connection, java.lang.Object nativeblob)
           
static java.lang.String convertCLOBtoString(java.sql.Connection connection, java.lang.Object nativeclob)
           
static java.lang.Object createBLOBFromByteArray(java.sql.Connection conn, byte[] blobData)
           
static java.lang.Object createCLOBFromString(java.sql.Connection conn, java.lang.String clobData)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Oracle9iLobHandler

public Oracle9iLobHandler()
Method Detail

convertCLOBtoString

public static java.lang.String convertCLOBtoString(java.sql.Connection connection,
                                                   java.lang.Object nativeclob)

createCLOBFromString

public static java.lang.Object createCLOBFromString(java.sql.Connection conn,
                                                    java.lang.String clobData)

convertBLOBtoByteArray

public static byte[] convertBLOBtoByteArray(java.sql.Connection connection,
                                            java.lang.Object nativeblob)

createBLOBFromByteArray

public static java.lang.Object createBLOBFromByteArray(java.sql.Connection conn,
                                                       byte[] blobData)


(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30