3

I am creating a temporary sqlite jdbc database structure in memory. Somehitng like this,

Connection connection = DriverManager.getConnection("jdbc:sqlite::memory:");

However, it would be really nice to be able to see/visualize this database while debugging. I have created a complete set of database and can retrieve this data using ResultSet and Statement.executeQuery("Query");

Any ideas, how can it be achieved in Netbeans debugger.

DwB
  • 37,124
  • 11
  • 56
  • 82
Indigo
  • 2,887
  • 11
  • 52
  • 83

1 Answers1

5

In-memory databases cannot be accessed from another connection.

For debugging, create a database in a file.

CL.
  • 173,858
  • 17
  • 217
  • 259