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.
Grails 2.2.2 でプロジェクトを作成し、MongoDB プラグインをインストールしました。それはすべてうまくいっています。1 つだけ質問があります...私のドメイン クラスの id フィールドは、推奨されているようにオブジェクト ID ですが、もちろん、id はオブジェクトではなくオブジェクトであるため、Person.get(id) を実行しても機能しません。ロングまたはストリング。何か案は?
乾杯、 イラクリス