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. None
  2. None
  3. None
  4. • • •

  5. • • • • •

  6. None
  7. None
  8. - MyBatis Homepage • • •

  9. <insert id="insertCustomer"> INSERT INTO customers (first_name, last_name) VALUES (#{firstName}, #{lastName})

    </insert>
  10. <insert id="insertCustomer"> INSERT INTO customers (first_name, last_name) VALUES (#{firstName}, #{lastName})

    </insert> @Insert("INSERT INTO customers (first_name, last_name) VALUES (#{firstName}, #{lastName})") void insertCustomer(Customer customer)
  11. Ein paar Beispiele…

  12. None
  13. • • • • •

  14. • • • • •

  15. • • • •

  16. None