Results 1 to 4 of 4

Thread: in-memory database issues

Hybrid View

  1. #1
    Join Date
    Aug 2004
    Posts
    22

    Default in-memory database issues

    Hi,

    I was using my own PersistenceManager singleton which wrapped a Hibernate SessionFactory and did a session.open and session.close for all db operations and then switched all my DAOs to extend from HibernateDaoSupport. I had also been using in-memory HSQLDB with Tomcat in a web application. What I noticed is that before the data would actually persist between successive Tomcat restarts, but now it seems it doesn't. It seems I now have to run HSQLDB in stand-alone server mode... is this normal?

    Thanks, Jason

  2. #2
    Join Date
    Aug 2004
    Posts
    22

    Default

    I should mention that the only difference is before I was using

    hibernate.connection.url=jdbc:hsqldb:/database/gridsphere

    to point to the flat file DB and now I've been forced to use

    hibernate.connection.url=jdbc:hsqldb:hsql://localhost

    in order for the data to be persisted between server restarts

  3. #3
    Join Date
    Aug 2004
    Posts
    1,107

    Default

    This is more of an HSQLDB question, but I know they now require an explicit shutdown command to be executed - was there anything in the log indicating the database was not shut down properly?
    Thomas Risberg
    SpringSource by Pivotal
    http://www.springsource.org

  4. #4
    Join Date
    Aug 2004
    Posts
    22

    Default

    I never needed to do this before-- I've been using hsqldb 1.7.1.... shouldn't hibernate be sending it a command under the covers for me so I'm not exposed to db specific issues?

    Thanks, Jason

Similar Threads

  1. Replies: 4
    Last Post: Oct 26th, 2006, 02:20 AM
  2. ThreadLocalTargetSource memory issues
    By ccnelson in forum Container
    Replies: 1
    Last Post: Sep 23rd, 2005, 04:28 PM
  3. Replies: 1
    Last Post: Jul 18th, 2005, 12:43 PM
  4. Replies: 2
    Last Post: May 26th, 2005, 02:30 AM
  5. Database concurrency issues
    By stevecnz in forum Data
    Replies: 2
    Last Post: Sep 2nd, 2004, 02:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •