久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    • <bdo id='nQLbo'></bdo><ul id='nQLbo'></ul>

  1. <small id='nQLbo'></small><noframes id='nQLbo'>

    1. <tfoot id='nQLbo'></tfoot>
      <i id='nQLbo'><tr id='nQLbo'><dt id='nQLbo'><q id='nQLbo'><span id='nQLbo'><b id='nQLbo'><form id='nQLbo'><ins id='nQLbo'></ins><ul id='nQLbo'></ul><sub id='nQLbo'></sub></form><legend id='nQLbo'></legend><bdo id='nQLbo'><pre id='nQLbo'><center id='nQLbo'></center></pre></bdo></b><th id='nQLbo'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='nQLbo'><tfoot id='nQLbo'></tfoot><dl id='nQLbo'><fieldset id='nQLbo'></fieldset></dl></div>
      <legend id='nQLbo'><style id='nQLbo'><dir id='nQLbo'><q id='nQLbo'></q></dir></style></legend>

      @Transactional 注解屬于哪里?

      Where does the @Transactional annotation belong?(@Transactional 注解屬于哪里?)
      <legend id='9Ch3O'><style id='9Ch3O'><dir id='9Ch3O'><q id='9Ch3O'></q></dir></style></legend>

      <small id='9Ch3O'></small><noframes id='9Ch3O'>

      <tfoot id='9Ch3O'></tfoot>

        • <bdo id='9Ch3O'></bdo><ul id='9Ch3O'></ul>
            <tbody id='9Ch3O'></tbody>
          • <i id='9Ch3O'><tr id='9Ch3O'><dt id='9Ch3O'><q id='9Ch3O'><span id='9Ch3O'><b id='9Ch3O'><form id='9Ch3O'><ins id='9Ch3O'></ins><ul id='9Ch3O'></ul><sub id='9Ch3O'></sub></form><legend id='9Ch3O'></legend><bdo id='9Ch3O'><pre id='9Ch3O'><center id='9Ch3O'></center></pre></bdo></b><th id='9Ch3O'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='9Ch3O'><tfoot id='9Ch3O'></tfoot><dl id='9Ch3O'><fieldset id='9Ch3O'></fieldset></dl></div>

                本文介紹了@Transactional 注解屬于哪里?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                您應該將 @Transactional 放在 DAO 類和/或其方法中,還是最好注釋使用 DAO 對象調用的服務類?或者注釋兩個層??"有意義嗎?

                Should you place the @Transactional in the DAO classes and/or their methods or is it better to annotate the Service classes which are calling using the DAO objects? Or does it make sense to annotate both "layers"?

                推薦答案

                我認為事務屬于服務層.它了解工作單元和用例.如果您將多個 DAO 注入到需要在單個事務中協同工作的服務中,那么這是正確的答案.

                I think transactions belong on the service layer. It's the one that knows about units of work and use cases. It's the right answer if you have several DAOs injected into a service that need to work together in a single transaction.

                這篇關于@Transactional 注解屬于哪里?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                quot;Char cannot be dereferencedquot; error(“Char 不能被取消引用錯誤)
                Java Switch Statement - Is quot;orquot;/quot;andquot; possible?(Java Switch 語句 - 是“或/“和可能的?)
                Java Replace Character At Specific Position Of String?(Java替換字符串特定位置的字符?)
                What is the type of a ternary expression with int and char operands?(具有 int 和 char 操作數的三元表達式的類型是什么?)
                Read a text file and store every single character occurrence(讀取文本文件并存儲出現的每個字符)
                Why do I need to explicitly cast char primitives on byte and short?(為什么我需要在 byte 和 short 上顯式轉換 char 原語?)

                  <tbody id='xEfpa'></tbody>

                <legend id='xEfpa'><style id='xEfpa'><dir id='xEfpa'><q id='xEfpa'></q></dir></style></legend>
                  1. <i id='xEfpa'><tr id='xEfpa'><dt id='xEfpa'><q id='xEfpa'><span id='xEfpa'><b id='xEfpa'><form id='xEfpa'><ins id='xEfpa'></ins><ul id='xEfpa'></ul><sub id='xEfpa'></sub></form><legend id='xEfpa'></legend><bdo id='xEfpa'><pre id='xEfpa'><center id='xEfpa'></center></pre></bdo></b><th id='xEfpa'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='xEfpa'><tfoot id='xEfpa'></tfoot><dl id='xEfpa'><fieldset id='xEfpa'></fieldset></dl></div>
                      <bdo id='xEfpa'></bdo><ul id='xEfpa'></ul>

                        <small id='xEfpa'></small><noframes id='xEfpa'>

                        • <tfoot id='xEfpa'></tfoot>
                          主站蜘蛛池模板: 日韩欧美一区二区三区四区 | 午夜免费网| 日韩视频精品 | 国产精品1区2区 | 亚洲成年在线 | 免费一级黄色录像 | 欧美激情久久久久久 | 久久久久国产精品免费免费搜索 | 久久新| 国产区一区 | 久久久久久久国产精品 | 成年人免费看的视频 | 性网站免费 | 亚洲欧美日本国产 | 男女在线免费观看 | 91精品久久久久久久久 | 中文字幕一区二区在线观看 | 日日操夜夜摸 | 中文字幕第一页在线 | 91高清免费 | 久久日本 | 波多野结衣一区二区三区 | 日韩久久久久 | www.99热 | 国产日韩精品一区二区 | www.伊人.com | 日韩成人免费视频 | 在线观看黄色电影 | 日日操视频 | 三级在线视频 | 懂色中文一区二区在线播放 | 久久久久精 | 欧美日一区| 久草视频在| 黄色一级大片在线免费看产 | 91在线观看免费视频 | 天天射影院 | 亚洲精品68久久久一区 | 一呦二呦三呦国产精品 | 久久国产精品一区 | a级免费观看视频 |