hi, i am developing a sample application using an embedded derby database, i have a code fragment that edits records on the database however i find that when i close my connection after editing by clicking a hide buton which hides the edit categories and closes the conection, i get a nontransientexception:no current connection error however when i leave the connection open, i dont get this error, i cnow its goo practice to close connections after use could somebody please direct me on this

