db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Braeuchi" <jbraeu...@gmx.ch>
Subject DescriptorRepository can not be serialized
Date Sun, 31 Oct 2004 21:11:41 GMT
hi all,

many testcases fail because DescriptorRepository cannot be serialized:

1) 
testToDiskReadFromDisk(org.apache.ojb.broker.MetaDataSerializationTest)org.apache.commons.lang.SerializationException:

java.io.NotSerializableException: org.apache.ojb.broker.core.Factories
    at 
org.apache.commons.lang.SerializationUtils.serialize(SerializationUtils.java:148)
    at 
org.apache.commons.lang.SerializationUtils.serialize(SerializationUtils.java:170)
    at 
org.apache.ojb.broker.MetaDataSerializationTest.testToDiskReadFromDisk(MetaDataSerializationTest.java:35)

i do not know if either the factories inst.var has to transient or the 
Factories need to be Serializable ?

jakab

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message