Support for InputStreams as parameters has not been implemented
in the Postgres JDBC drivers. It's open source, so anyone can
give it a try..
But it's possible in 95% of all cases to make it without serializing the
objects, since Orion has very good OR-mapping capabilities (List, Set,
Map, bean etc).
Markus
On Tue, Oct 03, 2000 at 06:24:13PM +0300, Vlad Petric wrote:
>
> I simply coudln't persist a Serializable with Orion 1.3.8 + Postgres
> 7.0.0. The table is created properly, postgresql.xml maps Serializable
> to oid, but I always get a CreationException:
>
> [root@vlad base]# java com/coltronix/cfgvar/ConfigurationClient
> javax.ejb.CreateException: Error creating EntityBean: InputStream as
> parameter not supported
> at com.evermind.server.rmi.bb.invokeMethod(JAX)
> at com.evermind.server.rmi.a2.invoke(JAX)
> at com.evermind.server.rmi.a3.invoke(JAX)
> at __Proxy3.create(Unknown Source)
> at
> com.coltronix.cfgvar.ConfigurationClient.main(ConfigurationClient.java:17)
>
> The table:
>
> +----------------------------------+----------------------------------+-------+
>
> | Field | Type |
> Length|
> +----------------------------------+----------------------------------+-------+
>
> | key | int8 not null
> | 8 |
> | section | varchar()
> | 255 |
> | entry | varchar()
> | 255 |
> | value | oid
> | 4 |
> +----------------------------------+----------------------------------+-------+
>
> The persistent fields:
>
> public long key;
> public String section;
> public String entry;
> public Serializable value;
>
--
Markus Holmberg | Give me Unix or give me a typewriter.
[EMAIL PROTECTED] | http://www.freebsd.org/