The reason may be because those objects may have been fetched before method call having requires new transaction attrib.
In this case a new transaction will be started hence resulting in Lazy...
Type: Posts; User: singh_darshan; Keyword(s):
The reason may be because those objects may have been fetched before method call having requires new transaction attrib.
In this case a new transaction will be started hence resulting in Lazy...
Just wanted to share experience with the group on this one.
Problem:
- In some instances, multiple consumers were found to be picking up the same message from TIBCO EMS queues (dynamic queues)...
Looks like you are running nested transactions.
Check if this is the case. Hibernate transaction manager does not support nested transactions. You need to make sure you don't work on the same...
Hi,
I am getting following exception where my transaction is rolled back as soon as i try to recieve from the Tibco queue. I use JMSTemplate.recieve() to recieve the messages from the queue.
...
Hi,
I am facing a problem where i inject proxied class into a proxied class. I am injecting the proxy as the interface and getting following exception.
Exception in thread "main"...
Hi All,
I have a problem where i have a map injected into a service class, and that map is of type Map<String,IHandler>
Now what is happening is that service class picks up the handler from...
Actually, my algorith is
If connection exception, send a notification and rollback the transaction.
I understand that transaction will be rolled back in that case but how can i get to know...
I absolutely agree that only JMS transaction counts, but i want to raise coustom exception because i need to do some more stuff based on that. Transaction rollback is one thig that i want.
Thanks...
Thanks for the sujjestion costin.
But Actually in my declaration transaction management, i have
PROPOGATION_REQUIRED -ConnectionException, +Exception
and ConnectionException is my custom...
Hi,
I have a scenario where i am trying to persist some data in DB and also send it to JMS queue.
When i call hibernateTemplate.save(), it doesn't raise any exception at that time and i have to...
I think you are trying to achieve a single transaction to take care of database and jms calls... right ???
If yes, I have written some code which actually do this thing using JOTM.
Try using JOTM.
I think what you are trying to achieve is possible using JOTM.
Let me know in case you have questions.
Cheers
Darshan
dasingh@sapient.com
Still i am not able to do this. Can you please give me the client code which uses this app context xml to recieve messages.
Thanks
Darshan
I managed to use JOTM for multiple transactions.
Hence now i am able to use JMSTemplate send or recieve and Hibernate to commit as one trasaction.
Now the problem is that if i want to wrap my...
Thanks Costin,
What exactly i am doing is, I have a transaction manager(STPTransactionManager that implements javax.transaction.TransactionManager) which has 2 indipendent transactions...
Does anyone of you have prior experience of performing multiple transactions using spring?
I want to achieve this where I have to perform atomic transaction which has multiple transactions. Hence...