Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Persistenz mit MyBatis in Spring Boot

Persistenz mit MyBatis in Spring Boot

Slidedeck des Talks bei der JUG Augsburg am 15.12.2020

Tobias Erdle

December 16, 2020
Tweet

More Decks by Tobias Erdle

Other Decks in Programming

Transcript






  1. View full-size slide

  2. - MyBatis Homepage



    View full-size slide


  3. INSERT INTO customers (first_name, last_name) VALUES (#{firstName}, #{lastName})

    View full-size slide


  4. INSERT INTO customers (first_name, last_name) VALUES (#{firstName}, #{lastName})

    @Insert("INSERT INTO customers (first_name, last_name) VALUES (#{firstName},
    #{lastName})")
    void insertCustomer(Customer customer)

    View full-size slide

  5. Ein paar Beispiele…

    View full-size slide






  6. View full-size slide






  7. View full-size slide





  8. View full-size slide