Select one or more tables, right click, Scripts, choose a script.
Part of the SQL Scripts plugin; appears to be a simple script, so only works with tables (e.g. can't dump views, procedures).
I was trying to connect to an instance of Oracle over VPN, and I couldn't connect directly (it gave a network error). However, I could connect if I forwarded the port through SSH.
ojdbc14.jar with a new version, and then it worked as originally expected.