You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Martin Dawe (JIRA)" <ib...@incubator.apache.org> on 2005/01/26 12:28:16 UTC

[jira] Created: (IBATIS-62) BLOB Handling in IBATIS 2.0.9

BLOB Handling in IBATIS 2.0.9
-----------------------------

         Key: IBATIS-62
         URL: http://issues.apache.org/jira/browse/IBATIS-62
     Project: iBatis for Java
        Type: Bug
  Components: SQL Maps  
    Versions: 2.0.9    
    Reporter: Martin Dawe
    Priority: Critical


We are currently trying to utilise the new BLOB handling features of IBATIS 2.0.9. We have managed to pull back a BLOB from ORACLE as a byte[], but we're only pulling back 86bytes (as mentioned in a previous post by another member) of data for large .pdf documents.

It is unclear from previous posts whether this feature actually works entirely, but it would be greatly appreciated if we could have some example implementation of the BLOB handling in IBATIS.

Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (IBATIS-62) BLOB Handling in IBATIS 2.0.9

Posted by Clinton Begin <cl...@gmail.com>.
Personally, I really don't like that idea.  The pluggable piece of
this framework in this context is CustomTypeHandler.  You should be
able to do everything you've mentioned above within the CTH.

It seems to me that all you would need is access to either the
connection, or the prepared statement (and ResultSet I suppose) within
the CTH.

I'd rather not support a two-tier pluggable feature like this.

Furthermore, if the code that you're using to build CLOBs is a crazy
as you've described above, you should really be sending support
messages to the two groups responsible:  Oracle and WebSphere.

That code is absolutely ridiculous (not a criticism of you, but of how
poor the support for CLOBs is in that environmental combination).

In my opinion, iBATIS should not adopt the role of solving problems
for vendors who don't support the standard APIs.  Your company has
probably spent millions on each of those products -- get your money's
worth....call their support line.

PS:  We've had MANY people report great success with the standard
2.0.9 CLOB handler when used with Oracle 10g drivers.  The 4k limit
has not been an issue.

Clinton


On Fri, 11 Feb 2005 12:14:11 +0100 (CET), Peter Nunn (JIRA)
<ib...@incubator.apache.org> wrote:
>      [ http://issues.apache.org/jira/browse/IBATIS-62?page=comments#action_59011 ]
> 
> Peter Nunn commented on IBATIS-62:
> ----------------------------------
> 
> A few comments regarding handling of LOB's in Oracle.
> 
> Firstly, in certain application server environments you cannot save CLOB fields greater than 4K using the current release of iBATIS. Indeed, in many environments, oracle 10g's handling of CLOB's doesn't solve anything (trust me). We deploy our applications to a Websphere 5.0 (JRE 1.3.1), Oracle 9i environment. We use a JNDI DataSource. Even if we use the 10g driver you cannot get around the 4K limit of setString(...), or indeed setCharacterStream(...). To get around this limitation it seems that you need to be able to pass the property "SetBigStringTryClob" upon creation of your connection, or cast your PreparedStatement to OraclePreparedStatement and call the Oracle 10g specific method, setStringForClob(int,String). I've tested this within a stand-alone Java Application, and this works just fine.
> However, when you move to the application server environment you cannot set the "SetBigStringTryClob" property on the connection, because the OracleConnectionPooledDataSource does not support this custom property. Moreover, you cannot call the setStringForClob method because we don't have access to the PreparedStatement from within a TypeHandlerCallback (which is a good thing!). It's worth noting that even if you did you couldn't get hold of the OraclePreparedStatement... WebSphere returns proxy objects, not the native implementation instance.
> 
> To solve these database specific issues (that seem to plague oracle), I suggest that we provide support for pluggable ParameterSetter and ParameterGetter implementations. This would allow me to write the following code in my custom ParameterSetter:
> 
> public void setString(String x) throws SQLException {
> 
>     Connection managedConn = null;
>     CLOB clob = null;
> 
>     // Obtain the managed connection from websphere
>     try {
>         Connection conn = ps.getConnection();
>         managedConn = (Connection) WSJdbcUtil.getNativeConnection((WSJdbcConnection) conn);
>     } catch (Exception e) {
>         throw new SQLException("Failed to obtain native connection: " + e.getMessage());
>     }
> 
>     // Create a CLOB using the managed connection, and set on statement
>     try {
>         clob = CLOB.createTemporary(managedConn, true, CLOB.DURATION_CALL);
>         clob.open(CLOB.MODE_READWRITE);
>         Writer writer = clob.getCharacterOutputStream();
>         writer.write(x);
>         writer.flush();
>         writer.close();
>         clob.close();
>         ps.setClob(index, clob);
>     } catch (Exception e) {
>         throw new SQLException("Failed to set CLOB: " + e.getMessage());
>     } finally {
>         if (clob != null) {
>             LobCleanUpManager.registerTempLob(clob);
>         }
>     }
> 
> }
> 
> Ideally, this method would check the size of the String argument to decide whether or not to call ps.setString(...) rather than ps.setClob(...). The LobCleanUpManager concept is taken from Hibernate. It maintains a Set of temporary CLOB objects on a per thread basis, so that they can be released following execution of the statement:
> 
> public class LobCleanUpManager {
> 
>     protected static Log log = LogFactory.getLog(LobCleanUpManager.class);
> 
>     // a thread local set to store temperary LOBs
>     private static final ThreadLocal threadTempLobs = new ThreadLocal();
> 
>     public static void release() {
> 
>         Set tempLobs = (Set) threadTempLobs.get();
> 
>         if (tempLobs == null) {
>             return;
>         }
> 
>         try {
>             for (Iterator iter = tempLobs.iterator(); iter.hasNext();) {
>                 Object lob = iter.next();
>                 Method freeTemporary = lob.getClass().getMethod("freeTemporary", new Class[0]);
>                 freeTemporary.invoke(lob, new Object[0]);
>                 if (log.isDebugEnabled()) {
>                     log.debug("LOB cleaned");
>                 }
>             }
>         } catch (Exception e) {
>             if (log.isErrorEnabled()) {
>                 log.error("Failed to clean LOBs", e);
>             }
>         } finally {
>             threadTempLobs.set(null);
>             tempLobs.clear();
>         }
> 
>     }
> 
>     public static void registerTempLob(Object lob) {
>         getTempLobs().add(lob);
>     }
> 
>     public static Set getTempLobs() {
>         Set tempLobs = (Set) threadTempLobs.get();
>         if (tempLobs == null) {
>             tempLobs = new HashSet();
>             threadTempLobs.set(tempLobs);
>         }
>         return tempLobs;
>     }
> 
> }
> 
> Ultimately, SqlExecutor would have to call LobCleanUpManager.release() following execution of each statement.
> 
> Let me know what you think.
> 
> 
> > BLOB Handling in IBATIS 2.0.9
> > -----------------------------
> >
> >          Key: IBATIS-62
> >          URL: http://issues.apache.org/jira/browse/IBATIS-62
> >      Project: iBatis for Java
> >         Type: Bug
> >   Components: SQL Maps
> >     Versions: 2.0.9
> >     Reporter: Martin Dawe
> >     Priority: Critical
> 
> >
> > We are currently trying to utilise the new BLOB handling features of IBATIS 2.0.9. We have managed to pull back a BLOB from ORACLE as a byte[], but we're only pulling back 86bytes (as mentioned in a previous post by another member) of data for large .pdf documents.
> > It is unclear from previous posts whether this feature actually works entirely, but it would be greatly appreciated if we could have some example implementation of the BLOB handling in IBATIS.
> > Thanks
> 
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>    http://issues.apache.org/jira/secure/Administrators.jspa
> -
> If you want more information on JIRA, or have a bug to report see:
>    http://www.atlassian.com/software/jira
> 
>

[jira] Commented: (IBATIS-62) BLOB Handling in IBATIS 2.0.9

Posted by "Peter Nunn (JIRA)" <ib...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/IBATIS-62?page=comments#action_59240 ]
     
Peter Nunn commented on IBATIS-62:
----------------------------------

I've looked at the other posts, and it seems that Oracle Lob handling is addressed by the solution to issue IBATIS-37 re integration with Spring LobHandler abstraction. Thanks for your help.

> BLOB Handling in IBATIS 2.0.9
> -----------------------------
>
>          Key: IBATIS-62
>          URL: http://issues.apache.org/jira/browse/IBATIS-62
>      Project: iBatis for Java
>         Type: Bug
>   Components: SQL Maps
>     Versions: 2.0.9
>     Reporter: Martin Dawe
>     Assignee: Clinton Begin
>     Priority: Critical

>
> We are currently trying to utilise the new BLOB handling features of IBATIS 2.0.9. We have managed to pull back a BLOB from ORACLE as a byte[], but we're only pulling back 86bytes (as mentioned in a previous post by another member) of data for large .pdf documents.
> It is unclear from previous posts whether this feature actually works entirely, but it would be greatly appreciated if we could have some example implementation of the BLOB handling in IBATIS.
> Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (IBATIS-62) BLOB Handling in IBATIS 2.0.9

Posted by "Clinton Begin (JIRA)" <ib...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/IBATIS-62?page=comments#action_58092 ]
     
Clinton Begin commented on IBATIS-62:
-------------------------------------

1) Your JDBC driver may not support the native JDBC API for LOBs.
Oracle drivers previous to 10g fell into this category.

2) Your driver may have additional configuration for maximum data
sizes.  MySQL drivers are in this category.

3) Your driver may require interaction using streams exclusively.  I
believe a number of drivers are like this, but I'm not sure which
ones.  iBATIS currently doesn't access blobs using streams, but will
in the next release.

In the event of any of the above, you can always implement your own
typehandler.  You can use the BLOB and CLOB type handler source code
that is included with the distribution as examples (see the src ZIP
file in the /debug folder).

> BLOB Handling in IBATIS 2.0.9
> -----------------------------
>
>          Key: IBATIS-62
>          URL: http://issues.apache.org/jira/browse/IBATIS-62
>      Project: iBatis for Java
>         Type: Bug
>   Components: SQL Maps
>     Versions: 2.0.9
>     Reporter: Martin Dawe
>     Priority: Critical

>
> We are currently trying to utilise the new BLOB handling features of IBATIS 2.0.9. We have managed to pull back a BLOB from ORACLE as a byte[], but we're only pulling back 86bytes (as mentioned in a previous post by another member) of data for large .pdf documents.
> It is unclear from previous posts whether this feature actually works entirely, but it would be greatly appreciated if we could have some example implementation of the BLOB handling in IBATIS.
> Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (IBATIS-62) BLOB Handling in IBATIS 2.0.9

Posted by "Larry Meadors (JIRA)" <ib...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/IBATIS-62?page=comments#action_58086 ]
     
Larry Meadors commented on IBATIS-62:
-------------------------------------

What oracle driver are you using?

> BLOB Handling in IBATIS 2.0.9
> -----------------------------
>
>          Key: IBATIS-62
>          URL: http://issues.apache.org/jira/browse/IBATIS-62
>      Project: iBatis for Java
>         Type: Bug
>   Components: SQL Maps
>     Versions: 2.0.9
>     Reporter: Martin Dawe
>     Priority: Critical

>
> We are currently trying to utilise the new BLOB handling features of IBATIS 2.0.9. We have managed to pull back a BLOB from ORACLE as a byte[], but we're only pulling back 86bytes (as mentioned in a previous post by another member) of data for large .pdf documents.
> It is unclear from previous posts whether this feature actually works entirely, but it would be greatly appreciated if we could have some example implementation of the BLOB handling in IBATIS.
> Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (IBATIS-62) BLOB Handling in IBATIS 2.0.9

Posted by "Clinton Begin (JIRA)" <ib...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/IBATIS-62?page=history ]
     
Clinton Begin closed IBATIS-62:
-------------------------------

     Assign To: Clinton Begin
    Resolution: Invalid


This is yet another Oracle BLOB issue...Oracle doesn't support standard JDBC APIs until version 10g.  You'll need to upgrade your driver (just the driver, not the DB) or write your own Oracle specific custom type handler.   Someone on the list may have done so already for lower versions of Oracle.


> BLOB Handling in IBATIS 2.0.9
> -----------------------------
>
>          Key: IBATIS-62
>          URL: http://issues.apache.org/jira/browse/IBATIS-62
>      Project: iBatis for Java
>         Type: Bug
>   Components: SQL Maps
>     Versions: 2.0.9
>     Reporter: Martin Dawe
>     Assignee: Clinton Begin
>     Priority: Critical

>
> We are currently trying to utilise the new BLOB handling features of IBATIS 2.0.9. We have managed to pull back a BLOB from ORACLE as a byte[], but we're only pulling back 86bytes (as mentioned in a previous post by another member) of data for large .pdf documents.
> It is unclear from previous posts whether this feature actually works entirely, but it would be greatly appreciated if we could have some example implementation of the BLOB handling in IBATIS.
> Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (IBATIS-62) BLOB Handling in IBATIS 2.0.9

Posted by "Peter Nunn (JIRA)" <ib...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/IBATIS-62?page=comments#action_59011 ]
     
Peter Nunn commented on IBATIS-62:
----------------------------------

A few comments regarding handling of LOB's in Oracle.

Firstly, in certain application server environments you cannot save CLOB fields greater than 4K using the current release of iBATIS. Indeed, in many environments, oracle 10g's handling of CLOB's doesn't solve anything (trust me). We deploy our applications to a Websphere 5.0 (JRE 1.3.1), Oracle 9i environment. We use a JNDI DataSource. Even if we use the 10g driver you cannot get around the 4K limit of setString(...), or indeed setCharacterStream(...). To get around this limitation it seems that you need to be able to pass the property "SetBigStringTryClob" upon creation of your connection, or cast your PreparedStatement to OraclePreparedStatement and call the Oracle 10g specific method, setStringForClob(int,String). I've tested this within a stand-alone Java Application, and this works just fine.
However, when you move to the application server environment you cannot set the "SetBigStringTryClob" property on the connection, because the OracleConnectionPooledDataSource does not support this custom property. Moreover, you cannot call the setStringForClob method because we don't have access to the PreparedStatement from within a TypeHandlerCallback (which is a good thing!). It's worth noting that even if you did you couldn't get hold of the OraclePreparedStatement... WebSphere returns proxy objects, not the native implementation instance.

To solve these database specific issues (that seem to plague oracle), I suggest that we provide support for pluggable ParameterSetter and ParameterGetter implementations. This would allow me to write the following code in my custom ParameterSetter:

public void setString(String x) throws SQLException {

    Connection managedConn = null;
    CLOB clob = null;

    // Obtain the managed connection from websphere
    try {
        Connection conn = ps.getConnection();
        managedConn = (Connection) WSJdbcUtil.getNativeConnection((WSJdbcConnection) conn);
    } catch (Exception e) {
        throw new SQLException("Failed to obtain native connection: " + e.getMessage());
    }

    // Create a CLOB using the managed connection, and set on statement
    try {
        clob = CLOB.createTemporary(managedConn, true, CLOB.DURATION_CALL);
        clob.open(CLOB.MODE_READWRITE);
        Writer writer = clob.getCharacterOutputStream();
        writer.write(x);
        writer.flush();
        writer.close();
        clob.close();
        ps.setClob(index, clob);
    } catch (Exception e) {
        throw new SQLException("Failed to set CLOB: " + e.getMessage());
    } finally {
        if (clob != null) {
            LobCleanUpManager.registerTempLob(clob);
        }
    }

}
    
Ideally, this method would check the size of the String argument to decide whether or not to call ps.setString(...) rather than ps.setClob(...). The LobCleanUpManager concept is taken from Hibernate. It maintains a Set of temporary CLOB objects on a per thread basis, so that they can be released following execution of the statement:

public class LobCleanUpManager {
    
    protected static Log log = LogFactory.getLog(LobCleanUpManager.class);

    // a thread local set to store temperary LOBs
    private static final ThreadLocal threadTempLobs = new ThreadLocal();

    public static void release() {
        
        Set tempLobs = (Set) threadTempLobs.get();

        if (tempLobs == null) {
            return;
        }

        try {
            for (Iterator iter = tempLobs.iterator(); iter.hasNext();) {
                Object lob = iter.next();
                Method freeTemporary = lob.getClass().getMethod("freeTemporary", new Class[0]);
                freeTemporary.invoke(lob, new Object[0]);
                if (log.isDebugEnabled()) {
                    log.debug("LOB cleaned");
                }                 
            }
        } catch (Exception e) {
            if (log.isErrorEnabled()) {
                log.error("Failed to clean LOBs", e);
            }
        } finally {
            threadTempLobs.set(null);
            tempLobs.clear();
        }
        
    }

    public static void registerTempLob(Object lob) {
        getTempLobs().add(lob);
    }

    public static Set getTempLobs() {
        Set tempLobs = (Set) threadTempLobs.get();
        if (tempLobs == null) {
            tempLobs = new HashSet();
            threadTempLobs.set(tempLobs);
        }
        return tempLobs;
    }
    
}

Ultimately, SqlExecutor would have to call LobCleanUpManager.release() following execution of each statement.

Let me know what you think.


> BLOB Handling in IBATIS 2.0.9
> -----------------------------
>
>          Key: IBATIS-62
>          URL: http://issues.apache.org/jira/browse/IBATIS-62
>      Project: iBatis for Java
>         Type: Bug
>   Components: SQL Maps
>     Versions: 2.0.9
>     Reporter: Martin Dawe
>     Priority: Critical

>
> We are currently trying to utilise the new BLOB handling features of IBATIS 2.0.9. We have managed to pull back a BLOB from ORACLE as a byte[], but we're only pulling back 86bytes (as mentioned in a previous post by another member) of data for large .pdf documents.
> It is unclear from previous posts whether this feature actually works entirely, but it would be greatly appreciated if we could have some example implementation of the BLOB handling in IBATIS.
> Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (IBATIS-62) BLOB Handling in IBATIS 2.0.9

Posted by "Martin Dawe (JIRA)" <ib...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/IBATIS-62?page=comments#action_58090 ]
     
Martin Dawe commented on IBATIS-62:
-----------------------------------

we're using the Oracle 8 drivers which are present in classes12.zip.

> BLOB Handling in IBATIS 2.0.9
> -----------------------------
>
>          Key: IBATIS-62
>          URL: http://issues.apache.org/jira/browse/IBATIS-62
>      Project: iBatis for Java
>         Type: Bug
>   Components: SQL Maps
>     Versions: 2.0.9
>     Reporter: Martin Dawe
>     Priority: Critical

>
> We are currently trying to utilise the new BLOB handling features of IBATIS 2.0.9. We have managed to pull back a BLOB from ORACLE as a byte[], but we're only pulling back 86bytes (as mentioned in a previous post by another member) of data for large .pdf documents.
> It is unclear from previous posts whether this feature actually works entirely, but it would be greatly appreciated if we could have some example implementation of the BLOB handling in IBATIS.
> Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (IBATIS-62) BLOB Handling in IBATIS 2.0.9

Posted by "Clinton Begin (JIRA)" <ib...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/IBATIS-62?page=comments#action_59084 ]
     
Clinton Begin commented on IBATIS-62:
-------------------------------------

Personally, I really don't like that idea.  The pluggable piece of
this framework in this context is CustomTypeHandler.  You should be
able to do everything you've mentioned above within the CTH.

It seems to me that all you would need is access to either the
connection, or the prepared statement (and ResultSet I suppose) within
the CTH.

I'd rather not support a two-tier pluggable feature like this.

Furthermore, if the code that you're using to build CLOBs is a crazy
as you've described above, you should really be sending support
messages to the two groups responsible:  Oracle and WebSphere.

That code is absolutely ridiculous (not a criticism of you, but of how
poor the support for CLOBs is in that environmental combination).

In my opinion, iBATIS should not adopt the role of solving problems
for vendors who don't support the standard APIs.  Your company has
probably spent millions on each of those products -- get your money's
worth....call their support line.

PS:  We've had MANY people report great success with the standard
2.0.9 CLOB handler when used with Oracle 10g drivers.  The 4k limit
has not been an issue.



> BLOB Handling in IBATIS 2.0.9
> -----------------------------
>
>          Key: IBATIS-62
>          URL: http://issues.apache.org/jira/browse/IBATIS-62
>      Project: iBatis for Java
>         Type: Bug
>   Components: SQL Maps
>     Versions: 2.0.9
>     Reporter: Martin Dawe
>     Priority: Critical

>
> We are currently trying to utilise the new BLOB handling features of IBATIS 2.0.9. We have managed to pull back a BLOB from ORACLE as a byte[], but we're only pulling back 86bytes (as mentioned in a previous post by another member) of data for large .pdf documents.
> It is unclear from previous posts whether this feature actually works entirely, but it would be greatly appreciated if we could have some example implementation of the BLOB handling in IBATIS.
> Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (IBATIS-62) BLOB Handling in IBATIS 2.0.9

Posted by "Peter Nunn (JIRA)" <ib...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/IBATIS-62?page=comments#action_59202 ]
     
Peter Nunn commented on IBATIS-62:
----------------------------------

I agree...if the CTH returned the PreparedStatement then the Oracle CLOB handling would work fine...i.e. get the Connection off the statement. 

I agree with your point regarding not having pluggable ParameterGetter/Setters, provided the CTH API is flexible enough... I don't think it current is. Are there any plans to add a method to ParameterSetter to expose the statement?

Regarding the 10g drivers... I've installed the Oracle-10g running against 9i, but still get error messages inserting data over 4K. I've verified the classpath....can't figure it out. Thanks for your comments.


> BLOB Handling in IBATIS 2.0.9
> -----------------------------
>
>          Key: IBATIS-62
>          URL: http://issues.apache.org/jira/browse/IBATIS-62
>      Project: iBatis for Java
>         Type: Bug
>   Components: SQL Maps
>     Versions: 2.0.9
>     Reporter: Martin Dawe
>     Assignee: Clinton Begin
>     Priority: Critical

>
> We are currently trying to utilise the new BLOB handling features of IBATIS 2.0.9. We have managed to pull back a BLOB from ORACLE as a byte[], but we're only pulling back 86bytes (as mentioned in a previous post by another member) of data for large .pdf documents.
> It is unclear from previous posts whether this feature actually works entirely, but it would be greatly appreciated if we could have some example implementation of the BLOB handling in IBATIS.
> Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira