Experimenting with Asynchronous Mail 0.2.1 using Oracle as backing database. Running small test app and logSql=true shows that plugin is trying to create a table called asynchronous_mail_message_headers which Oracle can't do (only <= 30 characters allowed in identifiers). I've looked for where this domain is being created but I can only see two domains in the grails-app/domain/ru/perm/kefir/asynchronousmail directory of the plugin (neither of which are this particular domain). There are also other tables being created I can't account for looking at the available plugin code.
誰でもこれに関する経験はありますか?
暗黙的に作成される結合表である可能性があります。ドメインクラスに多/多または単方向の1 /複数の関係がある場合は可能です。関連するドメインクラスのjoinTableディレクティブを使用して、このテーブルの作成を微調整する必要があるかもしれません。
joinTableドキュメント
プッシュのためのaquatoadありがとう。 ru.perm.kefir.asynchronousmail.AsynchronousMailMessageのマッピングで作成されたカスタム結合テーブル:
headers joinTable:[name:'asynch_mail_message_headers',key:'asynchronous_mail_message_id']