private String normalizePackage(String packageName, SchemaAndTable schemaAndTable) {
        String rval = packageName;
        if (schemaToPackage) {
            rval = namingStrategy.getPackage(rval, schemaAndTable);
        }
        return rval;
    }
{@code MetadataExporter} exports JDBC metadata to Querydsl query types

<p>Example</p>

<pre>
MetaDataExporter exporter = new MetaDataExporter();
exporter.setPackageName("com.example.domain");
exporter.setTargetFolder(new File("target/generated-sources/java"));
exporter.export(connection.getMetaData());
</pre>

@author tiwe
querydsl-sql-codegen/src/main/java/com/querydsl/sql/codegen/MetaDataExporter.java