Re: Java persistence
- From: "Oliver Wong" <owong@xxxxxxxxxxxxxx>
- Date: Mon, 15 Aug 2005 19:36:13 GMT
"Dan Nuttle" <d_nuttle@xxxxxxxxxxx> wrote in message
news:wStYd.1543$qf2.351@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Unless one of the truly world-class propeller heads can prove me wrong,
> I'm
> going out on a limb and saying that, if your class definition changes in
> your code, then you can't load an instance of an earlier version of the
> class into the JVM running the new version.
It may be possible using reflection, but the problem is ill-defined. If
for example, you have a field called "foo", and then you rename the field
"bar", is the persistence framework supposed to be able to guess that "bar"
is a renaming of "foo" and not just an entirely new field (which
coincidentally appear just when the field "foo" disappeared)?
There's no technical reason why this wouldn't be possible, only
pragmatic/business-rule reasons.
- Oliver
.
- Prev by Date: Re: How do I specify where a dialog should be shown
- Next by Date: Frame in den Vordergrund
- Previous by thread: Re: How do I specify where a dialog should be shown
- Next by thread: Frame in den Vordergrund
- Index(es):
Relevant Pages
|
|