On 2/9/2011 10:19 AM, Pavel Bortnovskiy wrote:
Hello, Kathey:
thank you for prompt response.
I was running 10.6. Upgraded to 10.7 and encountered the same NPE.
Downgraded to 10.3 and 10.2 but got a different error
Caused by: java.sql.SQLException: No suitable driver found for
jdbc:derby:memory:testdb;create=true
What could be a problem there?
Older versions do not have driver autoloading. You will need to add:
Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance(); to
your code in the beginning to get the driver loaded.