Getting exception SQLNonTransientConnectionException: No current connection in my application while interacting with database derby?

Found this via Google I had the same problem and found my answer in this sample application: db.apache.org/derby/docs/10.4/devguide/r... force garbage collection to unload the EmbeddedDriver // so Derby can be restarted System.gc() Works perfectly now.

Found this via Google. I had the same problem and found my answer in this sample application: db.apache.org/derby/docs/10.4/devguide/r... // force garbage collection to unload the EmbeddedDriver // so Derby can be restarted System.gc(); Works perfectly now.

What is Connection. CreateNewConnection? I've never heard of such a method on java.sql.

Connection, and I can't find it in any of the docs. I always use DriverManager. GetConnection to establish my Derby database connections.

I used that only, I specify the code now – user609621 May 31 at 6:35 The exception indicates that you have not successfully connected. Try putting some "System.out. Println" calls into your code where you are calling DriverManager.

GetConnection, and print out the values that you are passing to getConnection(), and print out the connection that is returned. And, if you are getting an exception from the getConnectiOn() call, print out that exception, too. – Bryan Pendleton May 31 at 20:39.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions