So Hibernate 3.1 and above is solely responsible for transaction management/wiring when using this in Spring 2.0?
How come then when I attempted to commit a transaction on a dao which did not have...
Type: Posts; User: mark_in_gr; Keyword(s):
So Hibernate 3.1 and above is solely responsible for transaction management/wiring when using this in Spring 2.0?
How come then when I attempted to commit a transaction on a dao which did not have...
This is an incorrect statement. The expression that I used in 2.0:
"execution(* com.xrite.ind.backcheck.dao.standard.StandardDao.*(..))"
was based on an example I found in your 2.0 documentation...
I would say that is a matter of interpretation as something has definetly changed, and it looks like it is the AspectJ expression language, otherwise . . .
<aop:pointcut id="daoStandard"...
I did read the whole chapter, but there is a lot of information there. And although there is a little one sentence blurb in 6.3.2 on how AspectJ style is used in Spring AOP pointcut expressions,...
Adding the "+" appears to have solved the problem. But that does not explain why. If I am using Spring AOP and not AspectJ, I still need to adhere to AspectJ syntax?
ok . . . so reading through...
If you are referring to this suggestion . . .
I take it you are suggesting that a "+" is the difference here? I will try that, but no where in the Spring 2.5 docs do I see mention of this. If...
I never claimed that it was correct, I merely stated that it was working for me, so I had no reason to question whether it was correct or not. I started out by following the examples and based all...
Amazing . .
As I stated in one of my possibilities the post prior, it could be something that 2.0 permitted that 2.5 does not. It is not a question of what I am believing here, that is the point...
It is not simply my opinion, it is a fact!!! This configuration and code is not something I have thrown together in a week, IT HAS BEEN WORKING FOR 18 MONTHS ON 2.0.4.
Which leads me to believe...
I don't know what you mean by ANY SIGNS of a transactional approach. The StandardDaoImpl bean is being proxied when remote access is required.
Here is the configuration:
<?xml version="1.0"...
The two Spring Context files are attached here.
Here is a sample from the Controller I mentioned. It simply grabs the bean from either the BeanFactory(for remoting) or ApplicationContext(for local transactions/db services). getDao is just one...
org.springframework.jdbc.datasource.DriverManagerDataSource is only used for the DataSource which connects the presentation layer to the local/embedded database, Derby in this case, running in...
Read what? If you are referring to the Spring Docs and Forums, I have done a great deal of that since last Thursday, to no avail.
I did remove all except for the first two, and that had no...
Marten,
Thank you for the reply. Actually, I am using an ApplicationContext here in the form of ClassPathXmlApplicationContext. The XmlBeanFactory you are seeing is for use by a remoting service....
After reading through the spring 2.4 docs again, I began trying different jar files in my class path.
Initially, I was using spring.jar and spring-webmvc.jar only when upgrading to 2.5.5. When...
I find it very curious that the TransactionManager assigned to the SessionFactory is an instance of org.hibernate.impl.SessionFactoryImpl rather than...
I find this interesting . . . in the class I use to instantiate the Spring Container, the TransactionManager associated w/the SessonFactory is null.
What would be a good method in debugging this...
Still sort of stumped. Has anyone run into a similar problem when upgrading from 2.0 to 2.5.5?
Another idea . . . how about an external jar dependency which Spring uses which was used when I started using Spring 2.0.4 which now has to be upgraded? Is there a list of transitive dependencies for...
I have just confirmed that reverting to spring 2.0.4, by removing spring-2.5.5.jar and spring-webmvc.jar from the 2.5.5 distribution and re-adding spring-2.0.4.jar runs without the error.
There...
I believe what is happening is although I am using getCurrentSession(), the session is STILL not bound in a Spring Transaction. I can't use openSession() seeing this will not be managed by Spring.
...
I have just upgraded from Spring version 2.0.4 to 2.5.5. I followed the suggested steps in the Spring Documentation by simply dropping the new Spring.jar file, as well as spring-webmvc.jar into my...
Continuing w/my last post, would this possibly be accomplised best through a Java Request Sampler Impementation in JMeter?
Thanks for the reply, Jeff. So, if I understand this correctly, by writing a custom Sampler and using that as a Controller, I can mimic the behavior of HttpInvoker? I am currently using...