HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
[New] 타일러팀
[New] 타일러팀
/
🧙‍♂️
이창호
/
2022-04-12

2022-04-12

Created
Apr 13, 2022 01:25 AM
Tags
Property
📎
여기에 오늘 배운 내용들을 간략하게 정리했어요~
  • SPRING BOOT PART2 JDBC
    • Try-with-Resources
      • try( ... ) { ... } catch(...) { ... } autocloseable
    • PrepareStatement
      • SQL Injection
    • UUID를 INSERT하기
      • UUID.randomUUID().toString().getBytes()
    • 저장한 UUID를 제대로 가져오기
      • var uuidBefore = UUID.randomUUID(); var uuidAfter = toUUID(uuidBefore.toString().getBytes()); static UUID toUUID(byte[] bytes) { var byteBuffer = ByteBuffer.wrap(bytes); return new UUID(byteBuffer.getLong(), byteBuffer.getLong()); }