Re: JDBC and blobs

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Stephen J(dot) Thompson" <stephen(at)thompsonconsult(dot)demon(dot)co(dot)uk>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: JDBC and blobs
Date: 2001-08-02 22:09:02
Message-ID: 200108022209.f72M92k25389@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Please get newer driver from

http://jdbc.fastcrypt.com

-- Start of PGP signed section.
> Hello All,
>
> Does anyone know of any problems with the JDBC driver that could cause this
> error? After about 490is inserts of blobs, this error appears and will not
> allow me to insert any more with out shutting down the app server and
> restarting it.
>
> Thanks.
>
> Regards,
>
> Stephen,
>
>
>
> [PartBean] java.rmi.ServerException: Store failed; nested exception is:
> [PartBean] InputStream as parameter not supported
> [PartBean] InputStream as parameter not supported
> [PartBean] at
> org.postgresql.jdbc2.PreparedStatement.setBinaryStream(PreparedStatement.java:474)
> [PartBean] at
> org.opentools.minerva.jdbc.PreparedStatementInPool.setBinaryStream(PreparedStatementInPool.java:252)
> [PartBean] at
> org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.setParameter(JDBCCommand.java:326)
> [PartBean] at
> org.jboss.ejb.plugins.jaws.jdbc.JDBCStoreEntityCommand.setParameters(JDBCStoreEntityCommand.java:134)
> [PartBean] at
> org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand.java:159)
> [PartBean] at
> org.jboss.ejb.plugins.jaws.jdbc.JDBCStoreEntityCommand.execute(JDBCStoreEntityCommand.java:97)
> [PartBean] at
> org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.storeEntity(JAWSPersistenceManager.java:156)
> [PartBean] at
> org.jboss.ejb.plugins.CMPPersistenceManager.storeEntity(CMPPersistenceManager.java:401)
> [PartBean] at
> org.jboss.ejb.plugins.EntitySynchronizationInterceptor$InstanceSynchronization.beforeCompletion(EntitySynchronizationInterceptor.java:342)
> [PartBean] at
> org.jboss.tm.TxCapsule.doBeforeCompletion(TxCapsule.java:1228)
> [PartBean] at org.jboss.tm.TxCapsule.commit(TxCapsule.java:322)
> [PartBean] at
> org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:76)
> [PartBean] at
> org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:318)
> [PartBean] at
> org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
> [PartBean] at
> org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:190)
> [PartBean] at
> org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
> [PartBean] at
> org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:323)
> [PartBean] at
> org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:392)
> [PartBean] at java.lang.reflect.Method.invoke(Native Method)
> [PartBean] at
> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
> [PartBean] at sun.rmi.transport.Transport$1.run(Transport.java:142)
> [PartBean] at java.security.AccessController.doPrivileged(Native Method)
> [PartBean] at sun.rmi.transport.Transport.serviceCall(Transport.java:139)
> [PartBean] at
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:443)
> [PartBean] at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:643)
> [PartBean] at java.lang.Thread.run(Thread.java:484)
-- End of PGP signed section.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bruce Momjian 2001-08-02 22:20:32 Re: Re: What needs to be done?
Previous Message chris markiewicz 2001-08-02 22:03:35 errors while getting large objects...