1 Reply Latest reply on Jan 10, 2011 10:14 AM by Monkey Den

    Hibernate Connection Lost

    mahendra b Newbie

      I am connecting to the database via the entity manager


      In my bean i have injected the entity manager


      My table has huge amountof data say 1,00,000 records


      I am retrieving data fine for some time and later i am getting null pointer exception because of my connection to the database is closed


      How can i solve this problem ?


      Thanks
      Mahi

        • 1. Re: Hibernate Connection Lost
          Monkey Den Master

          You can start by providing some forensics and some insight into what you currently have.  Full stacktrace, code, current configuration, etc?  Are you using seam managed persistence context?  What does your current EntityManager configuration look like?  EJB/POJO?  EAR/WAR?  1M records (assuming that's what you meant), in itself, isn't particularly concerning.