return new SchemaColumn( columnId, columnName, dbType, javaType, index );
}
private void buildSchema( ResultSet columns, InputStream schemaFile, String className, String tableName, Field[] fields ) {
Document document = DocumentHelper.createDocument();
Element root = document.addElement( "table" );
root.addAttribute( "name", tableName );
root.addAttribute( "className", className );
XMLWriter writer;
Element field;
HashMap<String, Field> fieldMap = new HashMap<String, Field>();