SlideShare a Scribd company logo
Migrations for Java
                       EVOLUINDO SEU BANCO DE MANEIRA INCREMENTAL




Monday, May 14, 2012
Como você evolui sua
                                    APP?
Monday, May 14, 2012
Como você evolui seu
                                BANCO?
Monday, May 14, 2012
gerencia mudanças
                       Como você evolui seu
                                 BANCO?
Monday, May 14, 2012
PREPARA UM HUGE_SCRIPT.SQL E
                          APLICA MANUALMENTE?



Monday, May 14, 2012
DEIXA NA MÃO DO DBA?




Monday, May 14, 2012
DEIXA NA MÃO DO
                       *
                         ARQUITETO?

                                         * BDUF (Big Design Up Front)

Monday, May 14, 2012
NÓS
                                        ♥
                                            TECN
                                                OLO
                                                   GIA
                                                       CASE
                         CRIA SUA PRÓPRIA                   IRA



                       FERRAMENTA, CERTO?


Monday, May 14, 2012
Não importa qual solução
     você utilize...



Monday, May 14, 2012
CADA SOLUÇÃO
                          TEM VANTAGENS
                       E DESVANTAGENS


Monday, May 14, 2012
CADA SOLUÇÃO
                        TEM SEUS PRÓS
                       E CONTRAS


Monday, May 14, 2012
A COMUNIDADE RUBYONRAILS APRENDEU DESDE O COMEÇO




Monday, May 14, 2012
SIMPLES E EFICAZ:

     MIGRATIONS
Monday, May 14, 2012
A COMUNIDADE JAVA
                       PARECE QUE NÃO APRENDEU
                       AINDA COMO SE FAZ


Monday, May 14, 2012
Java              ferramentas para todos os gostos




Monday, May 14, 2012
Java              ferramentas para todos os gostos




                           mybatis


Monday, May 14, 2012
MyBatis Schema Migrations




Monday, May 14, 2012
INSTALAÇÃO É SIMPLES

Monday, May 14, 2012
instalando MyBatis Migrations | download & unzip

   [rponte]	
  ~/Development/tools
   $	
  unzip	
  mybatis-­‐3.0.6-­‐migrations.zip	
  	
  


   [rponte]	
  ~/Development/tools
   $	
  ls	
  -­‐l	
  mybatis-­‐migrations-­‐3.0.6
   total	
  536
   -­‐rw-­‐r-­‐-­‐r-­‐-­‐@	
  1	
  rponte	
  	
  staff	
  	
  	
  11560	
  Oct	
  	
  9	
  	
  2011	
  LICENSE
   -­‐rw-­‐r-­‐-­‐r-­‐-­‐@	
  1	
  rponte	
  	
  staff	
  	
  	
  	
  2051	
  Oct	
  	
  9	
  	
  2011	
  MIGRATIONS-­‐README
   -­‐rw-­‐r-­‐-­‐r-­‐-­‐@	
  1	
  rponte	
  	
  staff	
  	
  253003	
  Oct	
  	
  9	
  	
  2011	
  MyBatis-­‐3-­‐Migrations.pdf
   -­‐rw-­‐r-­‐-­‐r-­‐-­‐@	
  1	
  rponte	
  	
  staff	
  	
  	
  	
  2519	
  Oct	
  	
  9	
  	
  2011	
  NOTICE
   drwxrwxrwx	
  	
  5	
  rponte	
  	
  staff	
  	
  	
  	
  	
  170	
  May	
  11	
  02:45	
  bin
   drwxrwxrwx	
  	
  3	
  rponte	
  	
  staff	
  	
  	
  	
  	
  102	
  Oct	
  	
  9	
  	
  2011	
  lib




Monday, May 14, 2012
instalando MyBatis Migrations | environment

   [rponte]	
  ~/Development/tools
   $	
  export	
  PATH=$MIGRATIONS_HOME/bin:$PATH	
  	
  


   [rponte]	
  ~/Development/tools
   $	
  migrate	
  -­‐-­‐help
   Commands:
   	
  	
  init	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  Creates	
  (if	
  necessary)	
  and	
  initializes	
  a	
  migration	
  path.
   	
  	
  bootstrap	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  Runs	
  the	
  bootstrap	
  SQL	
  script	
  (see	
  scripts/bootstrap.sql	
  for	
  more).
   	
  	
  new	
  <description>	
  	
  Creates	
  a	
  new	
  migration	
  with	
  the	
  provided	
  description.
   	
  	
  up	
  [n]	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  Run	
  unapplied	
  migrations,	
  ALL	
  by	
  default,	
  or	
  'n'	
  specified.
   	
  	
  down	
  [n]	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  Undoes	
  migrations	
  applied	
  to	
  the	
  database.	
  ONE	
  by	
  default	
  or	
  'n'	
  specified.
   	
  	
  version	
  <version>	
  	
  Migrates	
  the	
  database	
  up	
  or	
  down	
  to	
  the	
  specified	
  version.
   	
  	
  pending	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  Force	
  executes	
  pending	
  migrations	
  out	
  of	
  order	
  (not	
  recommended).
   	
  	
  status	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  Prints	
  the	
  changelog	
  from	
  the	
  database	
  if	
  the	
  changelog	
  table	
  exists.
   	
  	
  script	
  <v1>	
  <v2>	
  	
  	
  Generates	
  a	
  delta	
  migration	
  script	
  from	
  version	
  v1	
  to	
  v2	
  (undo	
  if	
  v1	
  >	
  v2).




Monday, May 14, 2012
instalando MyBatis Migrations | project
   [rponte]	
  ~/Development/blog_project/db
   $	
  migrate	
  init




Monday, May 14, 2012
MyBatis Migrations
                    em ação...
Monday, May 14, 2012
PODEMOS FACILITAR
                          E FOI O QUE FIZEMOS
                       ANT SCRIPT
Monday, May 14, 2012
Monday, May 14, 2012
Mybatis-Migrations-Anttasks   github.com/triadworks/labs




Monday, May 14, 2012
Mybatis-Migrations-Anttasks   github.com/triadworks/labs




Monday, May 14, 2012
Monday, May 14, 2012
MyBatis Migrations
                   Ant-tasks em
                      ação...
Monday, May 14, 2012
Rafael Ponte
                       rponte@triadworks.com.br




Monday, May 14, 2012

More Related Content

Similar to Migrations for Java

Unleashing the power of Scrum and Kanban together - Best of Both Worlds!!
Unleashing the power of Scrum and Kanban together - Best of Both Worlds!!Unleashing the power of Scrum and Kanban together - Best of Both Worlds!!
Unleashing the power of Scrum and Kanban together - Best of Both Worlds!!Nitin Ramrakhyani
 
Games for the Masses (QCon London 2012)
Games for the Masses (QCon London 2012)Games for the Masses (QCon London 2012)
Games for the Masses (QCon London 2012)
Wooga
 
NERCOMP LMS UnConference UnKeynote
NERCOMP LMS UnConference UnKeynoteNERCOMP LMS UnConference UnKeynote
NERCOMP LMS UnConference UnKeynoteMichael Feldstein
 
PFCongres 2012 - Rock Solid Deployment of PHP Apps
PFCongres 2012 - Rock Solid Deployment of PHP AppsPFCongres 2012 - Rock Solid Deployment of PHP Apps
PFCongres 2012 - Rock Solid Deployment of PHP AppsPablo Godel
 
Welcome to Rails Girls Buenos Aires
Welcome to Rails Girls Buenos AiresWelcome to Rails Girls Buenos Aires
Welcome to Rails Girls Buenos Aires
Anni Rautio
 
Como escalar aplicações PHP
Como escalar aplicações PHPComo escalar aplicações PHP
Como escalar aplicações PHP
Augusto Pascutti
 
Agile Business 2012 @ Agile Croatia May 14, 2012
Agile Business 2012 @ Agile Croatia May 14, 2012Agile Business 2012 @ Agile Croatia May 14, 2012
Agile Business 2012 @ Agile Croatia May 14, 2012
borisgloger consulting GmbH
 
Agile Business 2012@Agile Croatia May 2012
Agile Business 2012@Agile Croatia May 2012Agile Business 2012@Agile Croatia May 2012
Agile Business 2012@Agile Croatia May 2012
borisgloger_scrum
 
鱼与熊掌 - 软件质量和交付速度
鱼与熊掌 - 软件质量和交付速度鱼与熊掌 - 软件质量和交付速度
鱼与熊掌 - 软件质量和交付速度
andyhu1007
 
HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Clau...
HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Clau...HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Clau...
HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Clau...
marcocasario
 
Facebook Timeline for Church Fan Pages: An Overview
Facebook Timeline for Church Fan Pages: An OverviewFacebook Timeline for Church Fan Pages: An Overview
Facebook Timeline for Church Fan Pages: An Overview
Wevival
 
StartupWeekend slide deck
StartupWeekend slide deckStartupWeekend slide deck
StartupWeekend slide deckjdaquino
 
Going independent - making it as a freelance web professional - TriNUD RDU Co...
Going independent - making it as a freelance web professional - TriNUD RDU Co...Going independent - making it as a freelance web professional - TriNUD RDU Co...
Going independent - making it as a freelance web professional - TriNUD RDU Co...Michael Kimsal
 
Show an Open Source Project Some Love and Start Using Travis-CI
Show an Open Source Project Some Love and Start Using Travis-CIShow an Open Source Project Some Love and Start Using Travis-CI
Show an Open Source Project Some Love and Start Using Travis-CI
Joel Byler
 
Multilingual solutions florian loretan
Multilingual solutions florian loretanMultilingual solutions florian loretan
Multilingual solutions florian loretandrupalconf
 
The enterprise mobility revolution
The enterprise mobility revolutionThe enterprise mobility revolution
The enterprise mobility revolutionJames Robertson
 
Building an app across 11 arabic countries
Building an app across 11 arabic countriesBuilding an app across 11 arabic countries
Building an app across 11 arabic countries
droidcon Dubai
 

Similar to Migrations for Java (20)

Unleashing the power of Scrum and Kanban together - Best of Both Worlds!!
Unleashing the power of Scrum and Kanban together - Best of Both Worlds!!Unleashing the power of Scrum and Kanban together - Best of Both Worlds!!
Unleashing the power of Scrum and Kanban together - Best of Both Worlds!!
 
Games for the Masses (QCon London 2012)
Games for the Masses (QCon London 2012)Games for the Masses (QCon London 2012)
Games for the Masses (QCon London 2012)
 
NERCOMP LMS UnConference UnKeynote
NERCOMP LMS UnConference UnKeynoteNERCOMP LMS UnConference UnKeynote
NERCOMP LMS UnConference UnKeynote
 
Jenkins Evolutions
Jenkins EvolutionsJenkins Evolutions
Jenkins Evolutions
 
PFCongres 2012 - Rock Solid Deployment of PHP Apps
PFCongres 2012 - Rock Solid Deployment of PHP AppsPFCongres 2012 - Rock Solid Deployment of PHP Apps
PFCongres 2012 - Rock Solid Deployment of PHP Apps
 
Welcome to Rails Girls Buenos Aires
Welcome to Rails Girls Buenos AiresWelcome to Rails Girls Buenos Aires
Welcome to Rails Girls Buenos Aires
 
Como escalar aplicações PHP
Como escalar aplicações PHPComo escalar aplicações PHP
Como escalar aplicações PHP
 
Agile Business 2012 @ Agile Croatia May 14, 2012
Agile Business 2012 @ Agile Croatia May 14, 2012Agile Business 2012 @ Agile Croatia May 14, 2012
Agile Business 2012 @ Agile Croatia May 14, 2012
 
Agile Business 2012@Agile Croatia May 2012
Agile Business 2012@Agile Croatia May 2012Agile Business 2012@Agile Croatia May 2012
Agile Business 2012@Agile Croatia May 2012
 
鱼与熊掌 - 软件质量和交付速度
鱼与熊掌 - 软件质量和交付速度鱼与熊掌 - 软件质量和交付速度
鱼与熊掌 - 软件质量和交付速度
 
HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Clau...
HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Clau...HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Clau...
HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Clau...
 
Facebook Timeline for Church Fan Pages: An Overview
Facebook Timeline for Church Fan Pages: An OverviewFacebook Timeline for Church Fan Pages: An Overview
Facebook Timeline for Church Fan Pages: An Overview
 
StartupWeekend slide deck
StartupWeekend slide deckStartupWeekend slide deck
StartupWeekend slide deck
 
Going independent - making it as a freelance web professional - TriNUD RDU Co...
Going independent - making it as a freelance web professional - TriNUD RDU Co...Going independent - making it as a freelance web professional - TriNUD RDU Co...
Going independent - making it as a freelance web professional - TriNUD RDU Co...
 
Show an Open Source Project Some Love and Start Using Travis-CI
Show an Open Source Project Some Love and Start Using Travis-CIShow an Open Source Project Some Love and Start Using Travis-CI
Show an Open Source Project Some Love and Start Using Travis-CI
 
Multilingual solutions florian loretan
Multilingual solutions florian loretanMultilingual solutions florian loretan
Multilingual solutions florian loretan
 
The enterprise mobility revolution
The enterprise mobility revolutionThe enterprise mobility revolution
The enterprise mobility revolution
 
Ux in dm d4=r1
Ux in dm d4=r1Ux in dm d4=r1
Ux in dm d4=r1
 
Resume 2016
Resume 2016Resume 2016
Resume 2016
 
Building an app across 11 arabic countries
Building an app across 11 arabic countriesBuilding an app across 11 arabic countries
Building an app across 11 arabic countries
 

More from Rafael Ponte

TechDay: 10 Features do Oracle que voce nao conhecia - CONNECT BY CLAUSE
TechDay: 10 Features do Oracle que voce nao conhecia - CONNECT BY CLAUSETechDay: 10 Features do Oracle que voce nao conhecia - CONNECT BY CLAUSE
TechDay: 10 Features do Oracle que voce nao conhecia - CONNECT BY CLAUSE
Rafael Ponte
 
TechDay Retrospectiva 2018
TechDay Retrospectiva 2018TechDay Retrospectiva 2018
TechDay Retrospectiva 2018
Rafael Ponte
 
Arquitetura Java - Escalando além do Hype
Arquitetura Java - Escalando além do HypeArquitetura Java - Escalando além do Hype
Arquitetura Java - Escalando além do Hype
Rafael Ponte
 
Como treinar seu estagiario
Como treinar seu estagiarioComo treinar seu estagiario
Como treinar seu estagiario
Rafael Ponte
 
Lidando com o Caos: Testando Código PLSQL em um Projeto Critico
Lidando com o Caos: Testando Código PLSQL em um Projeto CriticoLidando com o Caos: Testando Código PLSQL em um Projeto Critico
Lidando com o Caos: Testando Código PLSQL em um Projeto Critico
Rafael Ponte
 
Como Apresentar Codigo em Slides - Javou #7 - 2016
Como Apresentar Codigo em Slides - Javou #7 - 2016Como Apresentar Codigo em Slides - Javou #7 - 2016
Como Apresentar Codigo em Slides - Javou #7 - 2016
Rafael Ponte
 
Importancia dos Testes Automatizados no dia a dia FIC-Estacio 2015
Importancia dos Testes Automatizados no dia a dia FIC-Estacio 2015Importancia dos Testes Automatizados no dia a dia FIC-Estacio 2015
Importancia dos Testes Automatizados no dia a dia FIC-Estacio 2015
Rafael Ponte
 
Hibernate efetivo (IA-2014 / Disturbing the Mind)
Hibernate efetivo (IA-2014 / Disturbing the Mind)Hibernate efetivo (IA-2014 / Disturbing the Mind)
Hibernate efetivo (IA-2014 / Disturbing the Mind)
Rafael Ponte
 
Hibernate efetivo (COALTI-2014 / ALJUG)
Hibernate efetivo (COALTI-2014 / ALJUG)Hibernate efetivo (COALTI-2014 / ALJUG)
Hibernate efetivo (COALTI-2014 / ALJUG)
Rafael Ponte
 
Migrations for Java (QCONSP2013)
Migrations for Java (QCONSP2013)Migrations for Java (QCONSP2013)
Migrations for Java (QCONSP2013)
Rafael Ponte
 
Importancia dos Testes Automatizados no dia a dia (Don't Panic)
Importancia dos Testes Automatizados no dia a dia (Don't Panic)Importancia dos Testes Automatizados no dia a dia (Don't Panic)
Importancia dos Testes Automatizados no dia a dia (Don't Panic)
Rafael Ponte
 
Importância dos testes automatizados no dia a dia
Importância dos testes automatizados no dia a diaImportância dos testes automatizados no dia a dia
Importância dos testes automatizados no dia a dia
Rafael Ponte
 
Hibernate Efetivo (QCONSP-2012)
Hibernate Efetivo (QCONSP-2012)Hibernate Efetivo (QCONSP-2012)
Hibernate Efetivo (QCONSP-2012)
Rafael Ponte
 
Os 10 maus habitos dos desenvolvedores jsf (JustJava e CCT)
Os 10 maus habitos dos desenvolvedores jsf (JustJava e CCT)Os 10 maus habitos dos desenvolvedores jsf (JustJava e CCT)
Os 10 maus habitos dos desenvolvedores jsf (JustJava e CCT)
Rafael Ponte
 
Importância dos testes automatizadoss
Importância dos testes automatizadossImportância dos testes automatizadoss
Importância dos testes automatizadoss
Rafael Ponte
 
Greenbar - Testes automatizados na sua empresa
Greenbar - Testes automatizados na sua empresaGreenbar - Testes automatizados na sua empresa
Greenbar - Testes automatizados na sua empresa
Rafael Ponte
 
Desafios de um desenvolvedor JSF
Desafios de um desenvolvedor JSFDesafios de um desenvolvedor JSF
Desafios de um desenvolvedor JSF
Rafael Ponte
 
Curso de Java server faces (JSF)
Curso de Java server faces (JSF)Curso de Java server faces (JSF)
Curso de Java server faces (JSF)
Rafael Ponte
 
Os 10 maus hábitos dos desenvolvedores JSF
Os 10 maus hábitos dos desenvolvedores JSFOs 10 maus hábitos dos desenvolvedores JSF
Os 10 maus hábitos dos desenvolvedores JSF
Rafael Ponte
 
Boas Práticas com JavaServer Faces (Jsf)
Boas Práticas com JavaServer Faces (Jsf)Boas Práticas com JavaServer Faces (Jsf)
Boas Práticas com JavaServer Faces (Jsf)
Rafael Ponte
 

More from Rafael Ponte (20)

TechDay: 10 Features do Oracle que voce nao conhecia - CONNECT BY CLAUSE
TechDay: 10 Features do Oracle que voce nao conhecia - CONNECT BY CLAUSETechDay: 10 Features do Oracle que voce nao conhecia - CONNECT BY CLAUSE
TechDay: 10 Features do Oracle que voce nao conhecia - CONNECT BY CLAUSE
 
TechDay Retrospectiva 2018
TechDay Retrospectiva 2018TechDay Retrospectiva 2018
TechDay Retrospectiva 2018
 
Arquitetura Java - Escalando além do Hype
Arquitetura Java - Escalando além do HypeArquitetura Java - Escalando além do Hype
Arquitetura Java - Escalando além do Hype
 
Como treinar seu estagiario
Como treinar seu estagiarioComo treinar seu estagiario
Como treinar seu estagiario
 
Lidando com o Caos: Testando Código PLSQL em um Projeto Critico
Lidando com o Caos: Testando Código PLSQL em um Projeto CriticoLidando com o Caos: Testando Código PLSQL em um Projeto Critico
Lidando com o Caos: Testando Código PLSQL em um Projeto Critico
 
Como Apresentar Codigo em Slides - Javou #7 - 2016
Como Apresentar Codigo em Slides - Javou #7 - 2016Como Apresentar Codigo em Slides - Javou #7 - 2016
Como Apresentar Codigo em Slides - Javou #7 - 2016
 
Importancia dos Testes Automatizados no dia a dia FIC-Estacio 2015
Importancia dos Testes Automatizados no dia a dia FIC-Estacio 2015Importancia dos Testes Automatizados no dia a dia FIC-Estacio 2015
Importancia dos Testes Automatizados no dia a dia FIC-Estacio 2015
 
Hibernate efetivo (IA-2014 / Disturbing the Mind)
Hibernate efetivo (IA-2014 / Disturbing the Mind)Hibernate efetivo (IA-2014 / Disturbing the Mind)
Hibernate efetivo (IA-2014 / Disturbing the Mind)
 
Hibernate efetivo (COALTI-2014 / ALJUG)
Hibernate efetivo (COALTI-2014 / ALJUG)Hibernate efetivo (COALTI-2014 / ALJUG)
Hibernate efetivo (COALTI-2014 / ALJUG)
 
Migrations for Java (QCONSP2013)
Migrations for Java (QCONSP2013)Migrations for Java (QCONSP2013)
Migrations for Java (QCONSP2013)
 
Importancia dos Testes Automatizados no dia a dia (Don't Panic)
Importancia dos Testes Automatizados no dia a dia (Don't Panic)Importancia dos Testes Automatizados no dia a dia (Don't Panic)
Importancia dos Testes Automatizados no dia a dia (Don't Panic)
 
Importância dos testes automatizados no dia a dia
Importância dos testes automatizados no dia a diaImportância dos testes automatizados no dia a dia
Importância dos testes automatizados no dia a dia
 
Hibernate Efetivo (QCONSP-2012)
Hibernate Efetivo (QCONSP-2012)Hibernate Efetivo (QCONSP-2012)
Hibernate Efetivo (QCONSP-2012)
 
Os 10 maus habitos dos desenvolvedores jsf (JustJava e CCT)
Os 10 maus habitos dos desenvolvedores jsf (JustJava e CCT)Os 10 maus habitos dos desenvolvedores jsf (JustJava e CCT)
Os 10 maus habitos dos desenvolvedores jsf (JustJava e CCT)
 
Importância dos testes automatizadoss
Importância dos testes automatizadossImportância dos testes automatizadoss
Importância dos testes automatizadoss
 
Greenbar - Testes automatizados na sua empresa
Greenbar - Testes automatizados na sua empresaGreenbar - Testes automatizados na sua empresa
Greenbar - Testes automatizados na sua empresa
 
Desafios de um desenvolvedor JSF
Desafios de um desenvolvedor JSFDesafios de um desenvolvedor JSF
Desafios de um desenvolvedor JSF
 
Curso de Java server faces (JSF)
Curso de Java server faces (JSF)Curso de Java server faces (JSF)
Curso de Java server faces (JSF)
 
Os 10 maus hábitos dos desenvolvedores JSF
Os 10 maus hábitos dos desenvolvedores JSFOs 10 maus hábitos dos desenvolvedores JSF
Os 10 maus hábitos dos desenvolvedores JSF
 
Boas Práticas com JavaServer Faces (Jsf)
Boas Práticas com JavaServer Faces (Jsf)Boas Práticas com JavaServer Faces (Jsf)
Boas Práticas com JavaServer Faces (Jsf)
 

Recently uploaded

20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
TIPNGVN2
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 

Recently uploaded (20)

20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 

Migrations for Java

  • 1. Migrations for Java EVOLUINDO SEU BANCO DE MANEIRA INCREMENTAL Monday, May 14, 2012
  • 2. Como você evolui sua APP? Monday, May 14, 2012
  • 3. Como você evolui seu BANCO? Monday, May 14, 2012
  • 4. gerencia mudanças Como você evolui seu BANCO? Monday, May 14, 2012
  • 5. PREPARA UM HUGE_SCRIPT.SQL E APLICA MANUALMENTE? Monday, May 14, 2012
  • 6. DEIXA NA MÃO DO DBA? Monday, May 14, 2012
  • 7. DEIXA NA MÃO DO * ARQUITETO? * BDUF (Big Design Up Front) Monday, May 14, 2012
  • 8. NÓS ♥ TECN OLO GIA CASE CRIA SUA PRÓPRIA IRA FERRAMENTA, CERTO? Monday, May 14, 2012
  • 9. Não importa qual solução você utilize... Monday, May 14, 2012
  • 10. CADA SOLUÇÃO TEM VANTAGENS E DESVANTAGENS Monday, May 14, 2012
  • 11. CADA SOLUÇÃO TEM SEUS PRÓS E CONTRAS Monday, May 14, 2012
  • 12. A COMUNIDADE RUBYONRAILS APRENDEU DESDE O COMEÇO Monday, May 14, 2012
  • 13. SIMPLES E EFICAZ: MIGRATIONS Monday, May 14, 2012
  • 14. A COMUNIDADE JAVA PARECE QUE NÃO APRENDEU AINDA COMO SE FAZ Monday, May 14, 2012
  • 15. Java ferramentas para todos os gostos Monday, May 14, 2012
  • 16. Java ferramentas para todos os gostos mybatis Monday, May 14, 2012
  • 19. instalando MyBatis Migrations | download & unzip [rponte]  ~/Development/tools $  unzip  mybatis-­‐3.0.6-­‐migrations.zip     [rponte]  ~/Development/tools $  ls  -­‐l  mybatis-­‐migrations-­‐3.0.6 total  536 -­‐rw-­‐r-­‐-­‐r-­‐-­‐@  1  rponte    staff      11560  Oct    9    2011  LICENSE -­‐rw-­‐r-­‐-­‐r-­‐-­‐@  1  rponte    staff        2051  Oct    9    2011  MIGRATIONS-­‐README -­‐rw-­‐r-­‐-­‐r-­‐-­‐@  1  rponte    staff    253003  Oct    9    2011  MyBatis-­‐3-­‐Migrations.pdf -­‐rw-­‐r-­‐-­‐r-­‐-­‐@  1  rponte    staff        2519  Oct    9    2011  NOTICE drwxrwxrwx    5  rponte    staff          170  May  11  02:45  bin drwxrwxrwx    3  rponte    staff          102  Oct    9    2011  lib Monday, May 14, 2012
  • 20. instalando MyBatis Migrations | environment [rponte]  ~/Development/tools $  export  PATH=$MIGRATIONS_HOME/bin:$PATH     [rponte]  ~/Development/tools $  migrate  -­‐-­‐help Commands:    init                              Creates  (if  necessary)  and  initializes  a  migration  path.    bootstrap                    Runs  the  bootstrap  SQL  script  (see  scripts/bootstrap.sql  for  more).    new  <description>    Creates  a  new  migration  with  the  provided  description.    up  [n]                          Run  unapplied  migrations,  ALL  by  default,  or  'n'  specified.    down  [n]                      Undoes  migrations  applied  to  the  database.  ONE  by  default  or  'n'  specified.    version  <version>    Migrates  the  database  up  or  down  to  the  specified  version.    pending                        Force  executes  pending  migrations  out  of  order  (not  recommended).    status                          Prints  the  changelog  from  the  database  if  the  changelog  table  exists.    script  <v1>  <v2>      Generates  a  delta  migration  script  from  version  v1  to  v2  (undo  if  v1  >  v2). Monday, May 14, 2012
  • 21. instalando MyBatis Migrations | project [rponte]  ~/Development/blog_project/db $  migrate  init Monday, May 14, 2012
  • 22. MyBatis Migrations em ação... Monday, May 14, 2012
  • 23. PODEMOS FACILITAR E FOI O QUE FIZEMOS ANT SCRIPT Monday, May 14, 2012
  • 25. Mybatis-Migrations-Anttasks github.com/triadworks/labs Monday, May 14, 2012
  • 26. Mybatis-Migrations-Anttasks github.com/triadworks/labs Monday, May 14, 2012
  • 28. MyBatis Migrations Ant-tasks em ação... Monday, May 14, 2012
  • 29. Rafael Ponte rponte@triadworks.com.br Monday, May 14, 2012