[android] Define relationships between objects - Room 에 대해 알아보자 - SQLite 는 relational db 이기 때문에, object 간의 관계를 정의할 수 있다. 대부분의 ORM lib 이 entity object 간에 상호 참조를 지원하지만, Room 은 명시적으로 이것을 금지한다. 금지한 기술적 이유는 아래와 같다. Understand why Room doesn’t allow object references (중략된 번역) https://developer.android.com/training/data-storage/room/referencing-data.html#understand-no-object-references - Room 은 entity class 간 object reference 를 허용하지 않는다. 대신 명시적으로 앱이 필요에 따라 data 를 요.. 2021. 5. 1. 반응형 이전 1 다음