SlideShare ist ein Scribd-Unternehmen logo
1 von 29
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Ähnlich wie 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 AiresAnni Rautio
 
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, 2012borisgloger 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 2012borisgloger_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 OverviewWevival
 
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-CIJoel 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 countriesdroidcon Dubai
 

Ähnlich wie 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
 
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
 
Atooma, dall’App alla Community.
Atooma, dall’App alla Community. Atooma, dall’App alla Community.
Atooma, dall’App alla Community.
 

Mehr von 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 CLAUSERafael Ponte
 
TechDay Retrospectiva 2018
TechDay Retrospectiva 2018TechDay Retrospectiva 2018
TechDay Retrospectiva 2018Rafael 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 HypeRafael Ponte
 
Como treinar seu estagiario
Como treinar seu estagiarioComo treinar seu estagiario
Como treinar seu estagiarioRafael 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 CriticoRafael 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 - 2016Rafael 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 2015Rafael 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 diaRafael 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 automatizadossRafael Ponte
 
Greenbar - Testes automatizados na sua empresa
Greenbar - Testes automatizados na sua empresaGreenbar - Testes automatizados na sua empresa
Greenbar - Testes automatizados na sua empresaRafael Ponte
 
Desafios de um desenvolvedor JSF
Desafios de um desenvolvedor JSFDesafios de um desenvolvedor JSF
Desafios de um desenvolvedor JSFRafael 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 JSFRafael 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
 

Mehr von 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)
 

Kürzlich hochgeladen

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 

Kürzlich hochgeladen (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 

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