Den 27. okt. 2010 kl. 11.13 skrev Rickard Öberg:

> On 2010-10-27 17.07, Ronnie Nessa wrote:
>> No, I didn´t take a look at the Streamflow implementation, thanks for
>> the pointer. I just had a look at it, and it seems like I have a similar
>> setup in my application, except for the eager upgrade of entities in
>> StartupMigrationService (which was a nice touch). But I could not find
>> any usage of the MigrationOperation interface in that code either. That
>> is the interface I have a hard time figuring out how to use.:
> 
> You'll only want to use it if you have a migration *for a particular entity* 
> which is not covered by the standard ones. But AFAICT you don't want to 
> refactor an entity, you want to "replace" it. Right?
> 
> /Rickard

Ok, but how do you know the id of this particular entity? Isn´t that possibly 
different for different deployments? 

Well, the solution I´ve been working on was to refactor the entities in 
question, but I guess replacing them would give me the same result. 





Best regards
Webstep AS
 
RONNIE NESSA  |  Senior Consultant
Mob : +47 970 69 512  | [email protected]
www.webstep.no





_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to