good find. I like their description: "A pluggable parser for
Liquibase that allows the creation of changelogs in a Groovy DSL,
rather than hurtful XML"
On Mon, Feb 18, 2013 at 7:28 PM, Dan Stine wrote:
> You could try
>
> https://github.com/tlberglund/groovy-liquibase
>
> On Feb 18, 2013, at 3:
You could try
https://github.com/tlberglund/groovy-liquibase
On Feb 18, 2013, at 3:13 PM, phil swenson wrote:
It's better than naked sql, but I think it should be a DSL - not XML.
I would like the ability to add code to my migrations, sometimes data
needs to be transformed during a migration.
Spring's JDBC stuff can be used without any other parts of Spring, no XML,
no annotations, no reflection-based injection. It provides a reasonably
functional-like interface to handling ResultSets, and with a little pain it
improves over straight JDBC in terms of specifying variable numbers of
para
I was looking for a DSL. JDBC is a terrible API, so not a fan of
anything that uses it. Spring's JDBC API is better, but I never
understood why spring was so XML happy. What is the advantage of
wiring in XML vs a simple java class? And the annotation wiring
spreads your wiring throughout the co
I figured Liquibase had something. But don't scala migrations look
more intuitive?
I've used Rails migrations for years and find the implementation very
nice. Scala migrations looks very, very similar.
On Mon, Feb 18, 2013 at 2:45 PM, Oscar Hsieh wrote:
> This is a better link
>
> https://liqui
@Phil: Flyway can mix both SQL and Java migrations.
--
Thomas Queste
On Mon, Feb 18, 2013 at 9:13 PM, phil swenson wrote:
> It's better than naked sql, but I think it should be a DSL - not XML.
>
> I would like the ability to add code to my migrations, sometimes data
> needs to be transform
This is a better link
https://liquibase.jira.com/wiki/display/CONTRIB/LiquiBase+Extensions+Portal
Also check out these build-in commands that support custom refactoring
http://www.liquibase.org/manual/modify_sql
http://www.liquibase.org/manual/custom_refactoring_class
http://www.liquibase.org/ma
On Mon, 18 Feb 2013 21:13:00 +0100, phil swenson
wrote:
It's better than naked sql, but I think it should be a DSL - not XML.
I would like the ability to add code to my migrations, sometimes data
needs to be transformed during a migration. And code lets you do
dynamic things that XML won't
> I would like the ability to add code to my migrations, sometimes data
> needs to be transformed during a migration. And code lets you do
> dynamic things that XML won't allow.
Liquibase can handle some of this too:
http://liquibase.org/manual/update_data
Wayne
--
You received this message be
It's better than naked sql, but I think it should be a DSL - not XML.
I would like the ability to add code to my migrations, sometimes data
needs to be transformed during a migration. And code lets you do
dynamic things that XML won't allow.
On Mon, Feb 18, 2013 at 11:19 AM, Wayne Fay wrote:
>>
+1 for me as well.
Matthew Farwell.
On 18 Feb 2013 19:46, "Fabrizio Giudici"
wrote:
> On Mon, 18 Feb 2013 19:19:15 +0100, Wayne Fay wrote:
>
> Has anyone found an open source java (or JVM) project that implements
>>> anything like rails-like migrations? All I see are naked SQL script
>>> mig
On Mon, 18 Feb 2013 19:19:15 +0100, Wayne Fay wrote:
Has anyone found an open source java (or JVM) project that implements
anything like rails-like migrations? All I see are naked SQL script
migration techniques.
Safe to assume you've seen liquibase and it was not rails-like enough?
http://l
An alternative to Liquibase is Flyway: http://flywaydb.org/
On 18 February 2013 19:20, phil swenson wrote:
> Thanks, that looks really nice!
>
> On Mon, Feb 18, 2013 at 11:02 AM, Josh Berry wrote:
> > Have you seen scala-migrations?
> http://code.google.com/p/scala-migrations
> >
> >
> > On Mo
Thanks, that looks really nice!
On Mon, Feb 18, 2013 at 11:02 AM, Josh Berry wrote:
> Have you seen scala-migrations? http://code.google.com/p/scala-migrations
>
>
> On Mon, Feb 18, 2013 at 12:52 PM, phil swenson
> wrote:
>>
>> Has anyone found an open source java (or JVM) project that implement
> Has anyone found an open source java (or JVM) project that implements
> anything like rails-like migrations? All I see are naked SQL script
> migration techniques.
Safe to assume you've seen liquibase and it was not rails-like enough?
http://liquibase.org/quickstart
Wayne
--
You received thi
Have you seen scala-migrations? http://code.google.com/p/scala-migrations
On Mon, Feb 18, 2013 at 12:52 PM, phil swenson wrote:
> Has anyone found an open source java (or JVM) project that implements
> anything like rails-like migrations? All I see are naked SQL script
> migration techniques.
>
Has anyone found an open source java (or JVM) project that implements
anything like rails-like migrations? All I see are naked SQL script
migration techniques.
In rails a migration looks something like this:
class AddWallIdToProjects < ActiveRecord::Migration
def change
add_column :project
17 matches
Mail list logo