0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

[seasar2]データソース切替

Last updated at Posted at 2020-09-20

seasar2で、同じ種類のデータソースを動的に切り替える際に実施した内容(自分用メモ)

下記参考サイトに記載の内容(1~3)のみでは、自分の環境でうまく動作しなかったので4,5を実施した。

  1. 各データソース用のdiconファイル作成
  2. jdbc.diconへ各データソース用のdiconファイルをincludeする
  3. データソース切替用インターセプタを作成する
  4. app.diconに3のインターセプタの追加設定をする
  5. customer.diconに3のインターセプタの設定追加する

参考サイト:

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?