Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5952669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:42:50+00:00 2026-05-22T17:42:50+00:00

I have the following declaration: <tx:advice id=txAdvice transaction-manager=transactionManager> <tx:attributes> <tx:method name=*/> </tx:attributes> </tx:advice> I

  • 0

I have the following declaration:

  <tx:advice id="txAdvice" transaction-manager="transactionManager">
    <tx:attributes>
      <tx:method name="*"/>
    </tx:attributes>
  </tx:advice>

I wrapped of the transactions all methods from the pointcut patterns.
But I want custom wrap one of the method.
Does has Spring.Net functionality of the “black list” for tx:advice?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T17:42:51+00:00Added an answer on May 22, 2026 at 5:42 pm

    I don’t think there is “black list” functionality in the <tx:advice ... /> tag. The transaction advice will always be applied to the matching methods.

    I think the intention of the <tx:attributes ... /> list is to specify which transaction attributes to use (depending on the name of the method) not to exclude methods from being wrapped in a transaction.

    If you’re only interested in applying custom transaction properties to a specific method, this can easily be done. For instance, if you want to set read-only=true instead of the default value false for VerySpecificMethod:

    <tx:advice id="txAdvice" transaction-manager="transactionManager">
      <tx:attributes>
        <tx:method name="VerySpecificMethod" read-only="true"/>
        <tx:method name="*"/>
      </tx:attributes>
    </tx:advice>
    

    The first matching method name will specifiy the transaction attributes to use so now, VerySpecificMethod will be executed within a read-only transaction. Other methods will use the default value false.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following method declaration: public static bool SerializeObject<T>(string filename, T objectToSerialize){ I
I have a following method declaration in VB and need to translate it into
I have the following declaration of my service: <ServiceControl Id=ServiceStartStop Name=[name] Start=install Stop=both Remove=both
Let's say we have the following method declaration: Public Function MyMethod(ByVal param1 As Integer,
In my head.phtml , I have following declaration for getting a menu work. <script
i have the following property declaration Public Property IsAreaSelected() As Integer Get Return If(ViewState(IsAreaSelected)
I have the following template declaration: template <typename T> void IterTable(int& rIdx, std::vector<double>& rVarVector,
I have the following css declaration in place: #envelope:after { z-index: -1; position: absolute;
I have a function with the following declaration: void cleanValid(int valid[][4], int &size, int
I have a class with the following declaration of the fields: public class Game

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.