Skip to content

Instantly share code, notes, and snippets.

@harawata
Created May 23, 2022 19:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harawata/1240a58acb244acfa30dd6b1db95fffe to your computer and use it in GitHub Desktop.
Save harawata/1240a58acb244acfa30dd6b1db95fffe to your computer and use it in GitHub Desktop.
MyBatis 3.5.10 の日本語版リリースノート

不具合修正:

  • OGNL 式でメソッドを呼び出す際に予期しない illegal reflective access の警告(Java 16 以降では InaccessibleObjectException)が発生する。 #2392
  • Records (JEP-359) への自動マッピングを行うと IllegalAccessException が発生する。 #2195
  • PooledConnection#getConnection() でスレッドが中断された場合に 'interrupted' 状態がクリアされてしまう。 #2503

新機能・改善点:

  • 新しいオプション argNameBasedConstructorAutoMapping を追加しました。有効化すると引数ありのコンストラクタ経由での自動マッピング適用時に、引数名でマッピング対象の列を探します。 #2192
  • <constructor /> を定義する際、<arg /> より後に <idArg /> を記述できるようになりました。 #2541
  • JdbcTransactionFactory に新しいプロパティ skipSetAutoCommitOnClose を追加しました。 ドライバによっては setAutoCommit() の呼び出しをスキップすることでパフォーマンスが改善する可能性があります。 #2426

3.5.9 から後方非互換の変更はありません。 変更内容の全リストは 3.5.10 milestone を参照してください。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment