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 code, so I don't get that either….
Scala migrations is exaclty the type of thing I was thinking about. On Mon, Feb 18, 2013 at 1:18 PM, Thomas Queste <[email protected]> wrote: > @Phil: Flyway can mix both SQL and Java migrations. > > > -- > Thomas Queste > > > > > On Mon, Feb 18, 2013 at 9:13 PM, phil swenson <[email protected]> > 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 allow. >> >> On Mon, Feb 18, 2013 at 11:19 AM, Wayne Fay <[email protected]> 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://liquibase.org/quickstart >> > >> > Wayne >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "Java Posse" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an email to [email protected]. >> > To post to this group, send email to [email protected]. >> > Visit this group at http://groups.google.com/group/javaposse?hl=en. >> > For more options, visit https://groups.google.com/groups/opt_out. >> > >> > >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Java Posse" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/javaposse?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Java Posse" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/javaposse?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Java Posse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/javaposse?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
