TransactionProxyFactoryBean « Transaction « Spring Q&A





1. TransactionProxyFactoryBean & applictatinoContext    forum.springsource.org

TransactionProxyFactoryBean & applictatinoContext I have the follwing set up: PROPAGATION_REQUIRED PROPAGATION_REQUIRED PROPAGATION_REQUIRED,readOnly

2. TransactionProxyFactoryBean for non-singleton    forum.springsource.org

Justin, the comment is correct. (Of course the reference to "singleton" means a Spring singleton-scoped bean, not a GoF Singleton, but I'm sure you're aware of that.) TransactionProxyFactoryBean's pre and post ...

3. TransactionProxyFactoryBean results in StackOverflowError    forum.springsource.org

Sep 17th, 2004, 06:11 PM #1 solman View Profile View Forum Posts Private Message Junior Member Join Date Sep 2004 Posts 3 TransactionProxyFactoryBean results in StackOverflowError Please help me. I am ...

4. TransactionProxyFactoryBean and throwsAdvice.    forum.springsource.org

TransactionProxyFactoryBean and throwsAdvice. I have the following config. dataSourceEvaluator implements ThrowsAdvice has some logic to perform when the transaction is rolledback, but seems like TransactionProxyFactoryBean does not support interceptorNames. Is there ...

5. TransactionProxyFactoryBean preInterceptors AfterReturningAdvice not working    forum.springsource.org

TransactionProxyFactoryBean preInterceptors AfterReturningAdvice not working I have a requirement to log business activities that can also map to the audit trail data generated. I use Hibernate envers as the audit trail ...

6. using TransactionProxyFactoryBean with another Inteceptor    forum.springsource.org

using TransactionProxyFactoryBean with another Inteceptor Hi, I'm using the very convenient TransactionProxyFactoryBean. Is there any way to add another Interceptor ? My bean definitions are:

7. TransactionProxyFactoryBean and methods within the target    forum.springsource.org

TransactionProxyFactoryBean and methods within the target I have a fairly simple question about the behavior of TransactionProxyFactory Bean. Does it itercept calls from one method to another in the target class? ...

8. Error Initializing TransactionProxyFactoryBean - Please Help    forum.springsource.org

Feb 2nd, 2005, 05:23 PM #1 jpwinans View Profile View Forum Posts Private Message Member Join Date Sep 2004 Posts 69 Error Initializing TransactionProxyFactoryBean - Please Help Hey All, I'm having ...

9. TransactionProxyFactoryBean interception    forum.springsource.org

TransactionProxyFactoryBean interception I'm working on a cacheing mechanism for a Spring/Hibernate/Struts based application. All access to the DAO layer is via a service facade, using TransactionProxyFactoryBean, so I'd have something like ...





10. Method Invocation with TransactionProxyFactoryBean    forum.springsource.org

Method Invocation with TransactionProxyFactoryBean I am trying to add Method Invocation security to my AppFuse application [again ]. And after going though the Contacts example, the only thing that I can ...

11. TransactionProxyFactoryBean and non singleton target    forum.springsource.org

Is it possible to let the TransactionProxyFactoryBean create a new bean-targetinstance everytime it is called? I have statefull services that require transaction support, but I need new instances of those services ...

12. Non-singleton TransactionProxyFactoryBean?    forum.springsource.org

Hi, I want to use delartive transaction, so I declard my service as Code: PROPAGATION_REQUIRED,readOnly PROPAGATION_REQUIRED ...

13. How to use Around Advice with TransactionProxyFactoryBean?    forum.springsource.org

I would like to use Around Advice along with the TransactionProxyFactoryBean. Since I cannot directly supply Around Advice implementation to TransactionProxyFactoryBean (it can use only pre- and post Interceptors) and since ...

14. Can a TransactionProxyFactoryBean span multiple targets    forum.springsource.org

Can a TransactionProxyFactoryBean span multiple targets Can a TransactionProxyFactoryBean span multiple targets for example curretnly the target prop spans one DAO like:

15. Embedded Transactions with TransactionProxyFactoryBean?    forum.springsource.org

Embedded Transactions with TransactionProxyFactoryBean? Using Spring 1.2.1, Hibernate 3.0.5, MySQL 4.1. I'm not exactly sure how to title this forum question because "PROPAGATION_REQUIRES_NEW without public DAO method" is a little too ...

16. ClassCastException and TransactionProxyFactoryBean    forum.springsource.org

ClassCastException and TransactionProxyFactoryBean Hi, I have a quartz job that wakes up and retrieves a bean by way of an application context as follows: Code: applicationContext = new ClassPathXmlApplicationContext("webApplicationContext.xml"); patientService = ...





17. Target in TransactionProxyFactoryBean    forum.springsource.org

why in TransactionProxyFactoryBean I can only set one target? It is quite common that I use the same transaction management for several beans. But in Spring API I have to create ...

18. TransactionProxyFactoryBean.postInterceptors in transaction?    forum.springsource.org

Are interceptors specified as postInterceptors for a TransactionProxyFactoryBean executed within the transaction or outside of it ? (The same question could probably be asked for preInterceptors.) The documentation isn't clear in ...

19. 'target' is required for TransactionProxyFactoryBean now?    forum.springsource.org

'target' is required for TransactionProxyFactoryBean now? Hi, I am upgrading to 1.2.4 but got an error: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'abstractTxDefinition' defined in ServletContext resource [/WEB-INF/classes/applicationContext-service.xml]: Initialization of ...

20. Using TransactionProxyFactoryBean programmatically    forum.springsource.org

Using TransactionProxyFactoryBean programmatically Is it possible to use TransactionProxyFactoryBean programmatically? I have a case where I want to create a transactional proxy for an object that gets created only during runtime ...

21. BeanNameAutoProxy failed but not TransactionProxyFactoryBean    forum.springsource.org

BeanNameAutoProxy failed but not TransactionProxyFactoryBean I am using Beannameautoproxycreator for managing transaction. The log file says that " No Hibernate Session bound to thread, and configuration does not allow creation of ...

22. TypeMismatchException with TransactionProxyFactoryBean    forum.springsource.org

TypeMismatchException with TransactionProxyFactoryBean Hi, Here's what I have: A bean class called AtlasCache defined in my Spring myapp-servlet.xml. AtlasCache has a ref to a another bean class MyDAO (which extends HibernateDaoSupport). ...

23. TransactionProxyFactoryBean and proxyInterfaces    forum.springsource.org

TransactionProxyFactoryBean and proxyInterfaces I have looked around the forums for topics related to this and I have found very little. My issue is that we currently have one baseTransactionProxy for all ...

24. How do you use PerformanceMonitorInterceptor with a TransactionProxyFactoryBean?    forum.springsource.org

Since org.springframework.transaction.interceptor.Transa ctionProxyFactoryBean has only properties "preInterceptors" and "postInterceptors" (and not an "interceptorNames" property as ProxyFactoryBean has) and since I want to find how much time it takes to execute functions ...

25. JdoTransaction not active although TransactionProxyFactoryBean has been set up    forum.springsource.org

JdoTransaction not active although TransactionProxyFactoryBean has been set up Hello Everybody! I'm trying to get the Sample provided on the JPOX page to work. Here is my SpringConfig.xml: Code:

26. Wiring instance of TransactionProxyFactoryBean    forum.springsource.org

Wiring instance of TransactionProxyFactoryBean Hi All, I have a service layer which I get from the beanfactory as a proxy (TransactionProxyFactoryBean) that I name "ServiceFacade" as this implements the ServiceFacade interface. ...

27. Question regarding TransactionProxyFactoryBean declaration    forum.springsource.org

Question regarding TransactionProxyFactoryBean declaration Hi all, I've read spring reference about using spring support for transaction management declaratively (Chapter 12), I came across the following declaration in configuration xml : ...

28. Using TransactionProxyFactoryBean with prototype target    forum.springsource.org

Hello everyone, We are trying to create some prototype beans with transactional semantics. The original idea was to make the bean a target of a TransactionProxy. However, a TransactionProxyFactoryBean can only ...

29. Something wrong with TransactionProxyFactoryBean    forum.springsource.org

Feb 2nd, 2006, 03:26 AM #1 Emerxill View Profile View Forum Posts Private Message Junior Member Join Date Dec 2005 Posts 8 Something wrong with TransactionProxyFactoryBean Hi I pretty new to ...

30. TransactionProxyFactoryBean Troubles    forum.springsource.org

TransactionProxyFactoryBean Troubles Hello, I've been using Spring for well over a year, but this problem has me stumped.... What I'm trying to do is created a transaction layer around a class, ...

31. Simple question on TransactionProxyFactoryBean    forum.springsource.org

Simple question on TransactionProxyFactoryBean Hello, Just wondering how should I handle the case of embedded services, all with transaction support... (My apologies if this is the wrong forum but since it ...

32. Unable to instantiate TransactionProxyFactoryBean    forum.springsource.org

Unable to instantiate TransactionProxyFactoryBean I don't know whether I'm making some obvious mistake somewhere but I'm getting the following error trying to implement a basic sample using JDBC to connect to ...

33. TransactionProxyFactoryBean ClassCastException    forum.springsource.org

TransactionProxyFactoryBean ClassCastException I have searched quite a bit and can't find any code examples as simple as what I am trying to do which is get an instance of my DAO ...

34. Error creating TransactionProxyFactoryBean    forum.springsource.org

Error creating TransactionProxyFactoryBean Hi, I am getting following error while using static factory method to create target object and wrap it with transaction. If I have target object creation via constructor ...

35. TransactionProxyFactoryBean perf issue    forum.springsource.org

TransactionProxyFactoryBean perf issue Hi, All, I am trying to tune my webpp performance(JDK1.5, Spring 1.2.1, hibernate3.0, jboss4.0.2, cglib-nodep-2.1.jar) and found out TransactionProxyFactoryBean proxys a call for 30ms where the actual method ...

36. children of TransactionProxyFactoryBean    forum.springsource.org

children of TransactionProxyFactoryBean Hello, I am building several Manager classes that are configured as children of the transactionProxyFactoryBean, and am using Hibernate as provider for DAO and DTO components. There are ...

37. Help TransactionProxyFactoryBean and XML Extension    forum.springsource.org

Hello, i want to create an XML extension (Spring 2.0), that will be applied inside TransactionProxyFactoryBean. Code: com.dg.dg59.archival.ArchivalService

38. classcastException from TransactionProxyFactoryBean    forum.springsource.org

classcastException from TransactionProxyFactoryBean This problem seems simple enough yet I cannot seem to figure it out. I am using a TransactionProxyFactoryBean and am receiving a class cast exception. Here is my ...

39. MethodSecurityInterceptor and TransactionProxyFactoryBean    forum.springsource.org

MethodSecurityInterceptor and TransactionProxyFactoryBean Hi all Let me start by saying I'm a complete AOP noob... I'm trying to define an MethodSecurityInterceptor for beans that are proxied by a TransactionProxyFactoryBean, so far ...

40. TransactionProxyFactoryBean + OSIVFilter + one-many mappings = LazyLoadInitException!    forum.springsource.org

Oct 11th, 2006, 03:10 AM #1 vaiv View Profile View Forum Posts Private Message Junior Member Join Date Sep 2006 Posts 12 TransactionProxyFactoryBean + OSIVFilter + one-many mappings = LazyLoadInitException! Hi, ...

41. TransactionProxyFactoryBean    forum.springsource.org

TransactionProxyFactoryBean Hi, I'm using Spring's TransactionProxyFactoryBean to manage a Hibernate DAO in the manner suggested in the reference documentation Code:

42. TransactionProxyFactoryBean postInterceptors question    forum.springsource.org

TransactionProxyFactoryBean postInterceptors question Hi, I have the following configuration Code: ...

43. TransactionProxyFactoryBean postInterceptors question    forum.springsource.org

TransactionProxyFactoryBean postInterceptors question Hi, I first started a thread in "Data Access", but then thought that the right place for my question is actually here. I have the following configuration: Code: ...

44. TransactionProxyFactoryBean and Business Object equality    forum.springsource.org

TransactionProxyFactoryBean and Business Object equality Hi, I wonder if anyone has come accross the following issue and has a better work around / solution: We have some business objects that are ...

45. TransactionProxyFactoryBean    forum.springsource.org

is it possible for 2 beans set the value of the class to org.springframework.transaction.interceptor.Transa ctionProxyFactoryBean in the application-context file? is my question strange?

46. about TransactionProxyFactoryBean(using axis2)    forum.springsource.org

about TransactionProxyFactoryBean(using axis2) hi, i create web service using axis2, hibernate 3 and spring 1.2.8. my question is, how can i get bean instance. applicationContext.xml Code: ...

47. Data can not be saved using Spring TransactionProxyFactoryBean    forum.springsource.org

Mar 7th, 2007, 10:06 AM #1 sunc View Profile View Forum Posts Private Message Junior Member Join Date Dec 2006 Posts 5 Data can not be saved using Spring TransactionProxyFactoryBean I ...

48. Question about TransactionProxyFactoryBean    forum.springsource.org

I'm new to spring and I am having some problems trying to understand how TransactionProxyFactoryBean works. In the ApplicationContext.xml do I need every single bean declared, which is going to be ...

49. TransactionProxyFactoryBean ClassCastException    forum.springsource.org

TransactionProxyFactoryBean ClassCastException Hi guys. I have the following configuration in my Spring context xml file: Code:

50. TransactionProxyFactoryBean Concept    forum.springsource.org

Hi All, Was studying the app-context.xml file, but did not seem to quite understand the difference between the 'transactionAttributes' (org.springframework.transaction.interceptor.Trans actionProxyFactoryBean) and the 'methodSecurityInterceptor'. From what I know 'methodSecurityInterceptor' helps secure ...

51. invalid property in TransactionProxyFactoryBean    forum.springsource.org

invalid property in TransactionProxyFactoryBean Hi all, Getting back to Spring/Java after a long foray into the .Net world. Because I'm using a new laptop, I've tried to rebuild my old project ...

52. NotSerializableException with TransactionProxyFactoryBean    forum.springsource.org

Oct 19th, 2007, 05:44 PM #1 jgodha View Profile View Forum Posts Private Message Junior Member Join Date Oct 2006 Posts 6 NotSerializableException with TransactionProxyFactoryBean I have an EJB with a ...

53. BeanName not set when extending TransactionProxyFactoryBean    forum.springsource.org

I have an abstract bean defined as Code: and a DAO that extends from it defined as Code:

54. TransactionProxyFactoryBean postInterceptors are not called    forum.springsource.org

Feb 19th, 2008, 09:10 AM #1 dwaszak View Profile View Forum Posts Private Message Junior Member Join Date Feb 2008 Posts 5 TransactionProxyFactoryBean postInterceptors are not called I'm integrating Acegi Spring ...

55. TransactionProxyFactoryBean: no setter for target    forum.springsource.org

TransactionProxyFactoryBean: no setter for target I'm getting an error in the applicationContext.xml in eclipse for the following block: Code: PROPAGATION_REQUIRED ...

56. Could not instantiate class TransactionProxyFactoryBean    forum.springsource.org

Dec 3rd, 2008, 09:12 AM #1 Anuradha Uduwage View Profile View Forum Posts Private Message Junior Member Join Date Dec 2008 Location Minnesota Posts 2 Could not instantiate class TransactionProxyFactoryBean Hi ...

57. Want quick clarification on TransactionProxyFactoryBean    forum.springsource.org

Want quick clarification on TransactionProxyFactoryBean Hi, Consider this situation, I have two daos: PersonDao, AddressDao. The person Dao uses TransactionProxyFactoryBean to handle transactions. Code: ...

58. TransactionProxyFactoryBean and cast    forum.springsource.org

Hi, The following code works fine, but I don't understand why : applicatinContext : Code:

59. TransactionProxyFactoryBean    forum.springsource.org

TransactionProxyFactoryBean While working on some legacy code, I came across some configuration as below that uses TransactionProxyFactoryBean along with a HibernateInterceptor. It appears to me that it's kinda redundant to add ...

60. Spring TransactionProxyFactoryBean issue    forum.springsource.org

I am using TransactionProxyFactoryBean configurations in my project at my service level. Inside my service method , i am calling three DAO methods. Out of the three dAO implementations , one ...

61. Spring TransactionProxyFactoryBean issue    forum.springsource.org

I am using TransactionProxyFactoryBean configurations in my project at my service level. Inside my service method , i am calling three DAO methods. Out of the three dAO implementations , one ...

62. Error using TransactionProxyFactoryBean    forum.springsource.org

May 21st, 2010, 08:11 PM #1 Duffman- View Profile View Forum Posts Private Message Junior Member Join Date May 2010 Location Belgium Posts 14 Error using TransactionProxyFactoryBean Hello, I'm configuring my ...

63. TransactionProxyFactoryBean    forum.springsource.org

Using the TransactionProxyFactoryBean to advise transactional behaviour, i am missing an option to exclude a method from being advised. I guess this is a general problem to all proxy factory beans. ...

64. TransactionProxyFactoryBean with non-Spring supplied target?    forum.springsource.org

TransactionProxyFactoryBean with non-Spring supplied target? I would like to use the declarative transaction management abililities of TransactionProxyFactoryBean in conjunction with JTATransactionManager and JOTM. My problem is that I can't wire-up the ...