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では、新しいドメインクラスを作成し、オブジェクトをデータベースに永続化しないことです。これは、データベースに保存したくないクラスを作成するための最良の方法ですか?
Grailsは、srcいくつかのユーティリティクラスやその他のアーティファクトを開発するためのディレクトリを提供します。src永続化されなかったディレクトリ。
src
src - Supporting sources groovy - Other Groovy sources java - Other Java sources
static mapWith="none"grails-app/domainフォルダーのクラス内で定義します
static mapWith="none"