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;
 

Reply via email to