title: spring batch oracle CLOB issue
body: <p>We are using spring batch which does insert some data as CLOB object in some of its table. We have oracle db and using apache commons dbcp connection pool. But when we run our job, it is throwing exception like below. What is the root cause of this issue? Is the issue in apache commons connection pool ?</p>
  
  <pre><code>Caused by: java.lang.ClassCastException: org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection
  at oracle.sql.CLOB.createTemporary(CLOB.java:979)
  at oracle.sql.CLOB.createTemporary(CLOB.java:939)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.springframework.jdbc.support.lob.OracleLobHandler$OracleLobCreator.prepareLob(OracleLobHandler.java:580)
  at org.springframework.jdbc.support.lob.OracleLobHandler$OracleLobCreator.createLob(OracleLobHandler.java:527)
  ... 66 more
  </code></pre>