db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David W. Van Couvering" <David.Vancouver...@Sun.COM>
Subject Re: Backward compatibility of DataSource implementations
Date Mon, 28 Nov 2005 23:34:40 GMT
If I change the implementation of one of these DataSource classes, but 
in no way modify it's overall "signature" (add/remove/modify public 
members) do I need to change the serial version UID?

Thanks,

David

Daniel John Debrunner wrote:
> David W. Van Couvering wrote:
> 
>>Hm, I'm not sure if I am interested in venturing into these waters.  The
>>email I sent was about making sure I understaood how things are done
>>today: DataSource implementations implement Serializable and define
>>compatibility requirements in the form I described.
>>
>>I think the ideas of using Referenceable or writing our own custom
>>serialization code are interesting, but it's not my itch to scratch
>>right now (unless it's required as part of solving the itch I have to
>>provide a custom classloader).
> 
> 
> The embedded Derby DataSource implementations do implement
> Referenceable, that itch has been scratched.
> 
> The one exception is EmbeddedSimpleDataSource, which is designed to work
> with J2ME (and J2SE), where Referenceable is not available.
> 
> Dan.
> 

Mime
View raw message