Righto... thanks a lot.. yeah on hindsight GET appears better.. supports the IDEMPOTENT logic as well.. thank u once again!!:)
Type: Posts; User: ani_anirban; Keyword(s):
Righto... thanks a lot.. yeah on hindsight GET appears better.. supports the IDEMPOTENT logic as well.. thank u once again!!:)
Yes, even I was thinking of a link based approach. I wonder why this is not already part of the spring codebase? Probably becoz there are so many w/a s.
Okey,probably I should have clarified it a little more, I know this is more of a cosmetic thing, but I like to purue all avenues before taking another path.
For eg. i have an organization and an...
Hi All,
Can we map two buttons on the same jsp to different controllers? I can do it in the same controller by using params on the RequestMapping. However, I know the usual hacks:
1....
Okey, fair enough! thanks once again! yeah all new employees were having the request param as 0, thats why the check for the equality to 0.
On a sidenote, the equals method on Employee sitll didn't...
Thanks Marten, you once again made my day! :)
1. Adding SessionAttribute solved my problem. Just added @SessionAttributes("organization")
2. I will like to do some more tests on load() before...
Thanks Marten, but for once, your answer didn't solve my woes! :(
1. I was just playing with the cache.And I switched it back to read-write.
2. We are supposed to use load() when we are sure that...
Hi All,
I am having a peculiar problem. Every time,I call merge, on the session, Hibernate persists a brand new object. I am using Hibernate 3.6 in a Spring MVC application. I do implement equals...
Okey, thanks Marten.
Thanks a lot Marten(Apologies for incorrectly spelling ur name earlier). Yes that wud be my guess, as after I changed the tx:advice, the same exception was thrown. For having a separate...
Hi Martin, I was hoping that you would reply, as ur replies are extremely precise and I like it.
However, I did indeed search before, but I couldn't really get a concrete answer. All the bits and...
Hi, I have a question re. Spring and Hibernate in tandem and the transaction management to follow with it. I do not use HibernateTemplate, though I must admit, using it was a breeze, but instead I...
My apologies for not enabling the code tags
Am using mybatis-spring-1.1.0-bundle.
For the non-tx managed code, I see that the tx. is managed by SpringManagedTransaction which is class on...
Well, I enabled logging and got the following responses :
#Without TX advice
[07/05/12 04:33:34:034 SGT] DEBUG support.HandlerMethodInvoker: Invoking request handler method: public...
Thanks Marten. Yes, I know I should have thrown the exception, but ,is there a way to run a query which will not auto commit the transaction? Right now, if I run the update method inside and outside...
Hi All,
I am currently developing a Spring MVC application.I have configured a JDBC TransactionManager and I am doing declarative transaction management using AOP XML.However, even if I configure...