Beyond COPY instructions, dump2pg should produce simple DDL entries targeted to PostgreSQL.
According to JDBC metadata and the DBMS type provided in the command line, the output file might include instructions such as CREATE TABLE, CREATE VIEW, etc.
As a suggestion, projects like SQuirreL SQL do extract DDL commands from a JDBC session.