Your problem is stemming from the fact that the Postgresql JDBC driver wants
auto commit flag set to false before it can use setBinaryStream() method which
is used to store the stream.  Orion's entity bean wrapper seems to leave the
flag alone and not set it to false explicitly.  So, basicly, that's what causes
it... but the proper solution to workaround or fix it is still something I'm
playing around with.

- Phillip


--- [EMAIL PROTECTED] wrote:
> I am trying to port an application that was running on JBOSS to
> orion.  All my Entity beans are using CMP.  Whenever I try to create a
> bean that has CMP field of type java.io.Serialazable i get the
> following exception:
> 
> javax.ejb.CreateException: Error creating EntityBean: InputStream as
> parameter not supported
> 
> here is the mapping from orion/config/database-schemas that I am
> using:
> 
> <type-mapping type="java.io.Serializable" name="oid" />
> 
> I am using postgres 7.1 and orion 1.5.2
> 
> I would appriciate any advice anyone had for me.
> 
> thanks
> 
> mike o'connor
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Reply via email to