Search:

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

Search: Search took 0.02 seconds.

  1. That means the heart of the problem is that the...

    That means the heart of the problem is that the flushing session is not attached to the main transaction and so is facing problems while flushing data.

    Does that mean that the problem could be...
  2. Thanks for your guidence. I will make the DAO...

    Thanks for your guidence.

    I will make the DAO as singleton and see if I get the "stuck session problem" again.

    Also, since I create a new DAO every time a thread is created, I am thinking that...
  3. Actually, I need to create new DAOs because since...

    Actually, I need to create new DAOs because since each thread executes concurrently, I cannot mark DAOs as singleton else all threads are going to interfere with same bunch of code, we don't have...
  4. Replies
    5
    Views
    1,488

    Hi, I implemented the ThreadExecutor service...

    Hi,

    I implemented the ThreadExecutor service which is creating threads and scheduling them now. but Now I got a wierd problem. The hibernate session when trying to flush the data gets stuck. I...
  5. Hibernate session gets stuck when trying to flush data..

    Hi Everyone,

    Currently I am facing a problem in which Hibernate session is executing an SQL query against the Oracle database but then hibernate never gets control back and looks as if waiting for...
  6. Thanks.

    Thanks a lot for your reply.

    This will atleast help me in seperating what I should do from what I should not as far as handling hibernate session with transactions is concerned.
  7. Question ??

    Hi,

    I was going through the whole topic you had about starting a nested transaction in Spring framework. I am wondering if you have come across any "non-EJB" way to create a nested transaction...
  8. Replies
    5
    Views
    1,488

    Hi Alarmnummer, I think this satisfies all of...

    Hi Alarmnummer,

    I think this satisfies all of my requirements!!! Thanks a lot for mentioning this to me. One advantage is that since these APIs are JDK based rather
    than third party, they can be...
  9. Replies
    5
    Views
    1,488

    Hi Alarmnummer, Thanks for your reply. My...

    Hi Alarmnummer,

    Thanks for your reply.

    My requirement is more of concurrent processing after some internal logic execution. It's actually like some file read logic (few rows at a time) and then...
  10. Replies
    5
    Views
    1,488

    Questing on creating multithreading appln.

    Hello Everyone,

    I am working on a problem where I need to create mulitiple threads and do some database updates using a DAO class using Spring.
    Right now, the issue is that we have a huge data...
  11. Replies
    0
    Views
    961

    Error in using Spring transactions.

    I am using Spring framework with Hibernate. Currently, I am getting the following exception.


    -------------------------------------------------------

    java.lang.IllegalStateException:...
Results 1 to 11 of 11