Search:

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

Search: Search took 0.02 seconds.

  1. The reason may be because those objects may have...

    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...
  2. Just wanted to share experience with the group on...

    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)...
  3. Replies
    2
    Views
    2,901

    Looks like you are running nested transactions. ...

    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...
  4. JTA transaction rollback exception | help required.

    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.
    ...
  5. Problem injecting proxied class into a proxied class

    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"...
  6. Efficient way of using factory implementation.

    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...
  7. Actually, my algorith is If connection...

    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...
  8. I absolutely agree that only JMS transaction...

    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...
  9. Thanks for the sujjestion costin. But Actually...

    Thanks for the sujjestion costin.

    But Actually in my declaration transaction management, i have

    PROPOGATION_REQUIRED -ConnectionException, +Exception

    and ConnectionException is my custom...
  10. How to check database down from inside transaction boundaries

    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...
  11. I think you are trying to achieve a single...

    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.
  12. Try using JOTM. I think what you are trying to...

    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
  13. Still i am not able to do this. Can you please...

    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
  14. I managed to use JOTM for multiple transactions....

    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...
  15. Jms and DB transations in a JTAManager

    Thanks Costin,
    What exactly i am doing is, I have a transaction manager(STPTransactionManager that implements javax.transaction.TransactionManager) which has 2 indipendent transactions...
  16. Multiple Transactions in a single transaction

    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...
Results 1 to 16 of 16