Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ドメインに継承チェーンがあるとします。たとえば、Fruit可能なサブクラスがAppleおよびであるスーパークラスを持つことができますBanana。対応する DAO はどのように形成されますか?
Fruit
Apple
Banana
パターンによると- 具体的なクラスごとに 1 つ。ただし、実際には、汎用 DAO を作成し、特定のクエリがある場合は常にこの DAO をサブクラス化する必要があります。