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.
JSON Jackson と greenDAO を統合する最良の方法はありますか。また、greenDAO を使用して多対多のリレーション マッピングを処理する方法。多対多のマッピングを行うには、接続テーブルを作成する必要があることがわかりました。これらすべての機能をまとめた例はありますか。
あなたはdao Generatorファイル編集entity.ftlでそれを行うことができます
Jackson ieを統合するために必要な行を追加します
import com.fasterxml.jackson.annotation.JsonProperty;
と
@JsonProperty("Tag Name")
したがって、このために追加のコードを記述する必要はありません。