sheetsj’s avatarsheetsj’s Twitter Archive—№ 4,260

    1. Gist to show how one could load Spring Boot local data via code instead of data.sql or import.sql gist.github.com/jeffsheets/e018277e0ba2257c7d4b6c3c9767b1dd
      oh my god twitter doesn’t include alt text from images in their API
  1. …in reply to @sheetsj
    Written as a follow-up to this thread: @sheetsj/1343962654034042881/
    1. …in reply to @sheetsj
      I like this better than data.sql and import.sql since it handles any JPA auto-generated fields, like id, uuid, createdDate, updatedDate, etc.... (but still only for local or test data)
      1. …in reply to @sheetsj
        Published this post on Loading Local Data in Spring Boot on the ole blog uncommentedbytes.blogspot.com/2021/01/loading-local-test-data-in-spring-boot.html
        1. …in reply to @sheetsj
          and now cross posted onto the OPI blog --> @objectpartners/1356652594421256202
        2. …in reply to @sheetsj
          (and man, I really need to update that 17 yr old blog tech and design, yikes😬😳)