Search:

Type: Posts; User: mark_in_gr; Keyword(s):

Page 1 of 6 1 2 3 4

Search: Search took 0.03 seconds.

  1. So Hibernate 3.1 and above is solely responsible...

    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...
  2. This is an incorrect statement. The expression...

    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...
  3. I would say that is a matter of interpretation as...

    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"...
  4. I did read the whole chapter, but there is a lot...

    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,...
  5. Adding the "+" appears to have solved the...

    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...
  6. If you are referring to this suggestion . . . ...

    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...
  7. I never claimed that it was correct, I merely...

    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...
  8. Amazing . . As I stated in one of my...

    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...
  9. It is not simply my opinion, it is a fact!!! This...

    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...
  10. I don't know what you mean by ANY SIGNS of a...

    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"...
  11. The two Spring Context files are attached here.

    The two Spring Context files are attached here.
  12. Here is a sample from the Controller I mentioned....

    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...
  13. org.springframework.jdbc.datasource.DriverManagerD...

    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...
  14. Read what? If you are referring to the Spring...

    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...
  15. Marten, Thank you for the reply. Actually, I...

    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....
  16. After reading through the spring 2.4 docs again,...

    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...
  17. I find it very curious that the...

    I find it very curious that the TransactionManager assigned to the SessionFactory is an instance of org.hibernate.impl.SessionFactoryImpl rather than...
  18. I find this interesting . . . in the class I use...

    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...
  19. Still sort of stumped. Has anyone run into a...

    Still sort of stumped. Has anyone run into a similar problem when upgrading from 2.0 to 2.5.5?
  20. Another idea . . . how about an external jar...

    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...
  21. I have just confirmed that reverting to spring...

    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...
  22. I believe what is happening is although I am...

    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.
    ...
  23. Upgrade 2.0.4 to 2.5.5 - org.hibernate.HibernateException: No Hibernate Session bound

    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...
  24. Replies
    7
    Views
    5,028

    Continuing w/my last post, would this possibly be...

    Continuing w/my last post, would this possibly be accomplised best through a Java Request Sampler Impementation in JMeter?
  25. Replies
    7
    Views
    5,028

    Thanks for the reply, Jeff. So, if I understand...

    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...
Results 1 to 25 of 137
Page 1 of 6 1 2 3 4