Giter Club home page Giter Club logo

Comments (2)

wannte avatar wannte commented on July 3, 2024

OneToOne의 연관관계 주인 결정에 대해서 계속 고민하고 있었는데, 고민이 해결되는 글이었습니다!

nullable=false의 조건으로 lefter join과 inner join이 별도로 나가는 것도 처음 배워가고요!

저 같은 경우에는 '청원(Petition)->청원 답변(Answer)' 이 1대1 관계를 가지는 요구사항이 있는데요,

Answer테이블의 petition_id에 unique=true 조건을 걸어, 하나의 청원에 대해 동시에 여러 답변 요청이 왔을 때의 동시성 이슈에서 안전해질 수 있어서 이런 장점도 있을 것 같아 글 남겨봅니다!

from blog-comment.

leehyeonmin34 avatar leehyeonmin34 commented on July 3, 2024

JPA Best practice 시리즈 잘 보고 있습니다. 혼자 공부할 때 막막한 점이 많았는데 좋은 내용이 많아요!!

from blog-comment.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.