I’ve been using AquaFold’s cool little Java-based query tool - DataStudio (http://www.aquafold.com). Very neat. What I like about it:

* SQL Command Completion (including your own table/field names) * Editable result sets * 100% Java - so use it on your platform of choice * Free for personal/educational use

Worth a look. Just drop in your own JDBC driver and you’re good to go. I’ve tested against mySQL and Sybase and it works a treat.