There this is a known problem with Oracle and LOBs. This problem is 
because the oracle JDBC driver is a piece of shit.  Check out tip 7 in 
the article at onjava

http://www.onjava.com/lpt/a//onjava/2001/12/19/oraclejdbc.html

There is a patch for this in JAWS but, I haven't gotten to integrating it.

-dain

Eric Jain wrote:

> Creating a CMP entity bean with a field containing an object
> (JAVA_OBJECT->BLOB) produces the following error message. Note that
> deployment works and produces the expected tables in the database. JBoss
> 3.0beta2 + classes12.zip. Any ideas?
> 
> 
> 16:35:49,584 ERROR [TestEJB] Could not create entity
> javax.ejb.EJBException: Internal error setting parameters for field data
> Embedded Exception
> Invalid column type
>         at
> org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.setArgument
> Parameters(JDBCAbstractCMPFieldBridge.java:242, Compiled Code)
>         at
> org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.setInstance
> Parameters(JDBCAbstractCMPFieldBridge.java:215, Compiled Code)
>         at
> org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.insertEntity(JDBCCrea
> teEntityCommand.java:194, Compiled Code)
>         at
> org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.execute(JDBCCreateEnt
> ityCommand.java:131, Compiled Code)
>         at
> org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManage
> r.java:376, Compiled Code)
>         at
> org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManag
> er.java:233, Compiled Code)
> 
> 
> 
> --
> Eric Jain
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to