IBM Developer is your one-stop location for getting hands-on training and learning in-demand skills on relevant technologies such as generative AI, data science, AI, and open source.
![Efficient data transfer through zero copy](https://cdn-ak-scissors.b.st-hatena.com/image/square/e71beff60753d2850398371b39be9fff2d63c8df/height=288;version=1;width=512/https%3A%2F%2Fs3.us.cloud-object-storage.appdomain.cloud%2Fibmdevwp%2Ficons%2Fsocial%2Fsocial.jpg)
普通、Springでアノテーションベースで宣言的トランザクションをやる場合、アプリケーションコンテキスト(XMLの設定ファイルね)にはこう書く。 <tx:annotation-driven /> <bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager"> <property name="dataSource" ref="dataSource" /> </bean> データソースの定義はいつも通りなんで省略。 で。 トランザクションを織り込みたいところにはこんな感じでアノテーションをつける。 @Transactional public List search() { (略) } これはこれで全く問題無い。簡単になったものである。 が これはこれで
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く