Performance Problems with DB Connection
posted 12 years ago
I am creating a single-user application that requires database connection. I'm using a MS Access database, and have the connection set up fine. I am setting up a connection when the app is started and keeping it open until the app is closed, but I'm getting performance issues (mainly my Swing components aren't being shown properly). Are the performance issues to do with the constant connection to the database ? Would it be better to keep opening and closing the connection ?