I'd like to
- debug in Eclipse some application which uses a java.sql.Connection
- at a breakpoint open the Debug/Display view
- type the following: net.sourceforge.squirrel_sql.client.Application.load(myConnection);
- Execute the selected Text
This should start SquirrelSQL with my connection from the breakpoint.
Rationale: that way, I can query and browse inside a Transaction which has not been committed yet (very useful for unit tests which always rollback at the end)
Caveat: there are currently a few static initializations in Squirrel, which may cause problems when starting squirrel twice with the above approach. But at least it is possible to start Squirrel that way, and it does display the uncommitted data (I have verified that).
Log in to post a comment.