On Tue, Dec 20, 2011 at 8:47 PM, Aristedes Maniatis <[email protected]>wrote:

> On 21/12/11 7:01 AM, John Huss wrote:
>
>> *I’m interested in having more flexible support for database migrations in
>>
>> Cayenne, so I wrote a new migrations API on top of the existing DbMerger
>> constructs.
>>
>
> My question: why not use a third party tool like liquibase?
>
> Or even write tighter connections between liquibase and Cayenne by
> allowing Cayenne to output the liquibase migration script.


Yes, you would have to do this to make it worthwhile; you'd need to
generate the liquibase script from the DataMap and/or database.


> Liquibase solves lots of problems, like knowing which migrations have run,
> conditional migrations, logging, locking, etc.
>

Liquibase looks like it would do a decent job.  I'm not sure I like the XML
format though.

Reply via email to