{
// Add a dummy (root) package to hold our sequences since no default package name set
pmd = filemd.newPackageMetadata("");
}
}
TableGeneratorMetaData tgmd = pmd.newTableGeneratorMetadata(getAttr(attrs, "name"));
tgmd.setTableName(getAttr(attrs, "table"));
tgmd.setCatalogName(getAttr(attrs, "catalog"));
tgmd.setSchemaName(getAttr(attrs, "schema"));
tgmd.setPKColumnName(getAttr(attrs, "pk-column-name"));
tgmd.setPKColumnValue(getAttr(attrs, "pk-column-value"));
tgmd.setValueColumnName(getAttr(attrs, "value-column-name"));
tgmd.setInitialValue(getAttr(attrs, "initial-value"));
tgmd.setAllocationSize(getAttr(attrs, "allocation-size"));
}
else if (localName.equals("named-query"))
{
// Named JPQL query
MetaData md = getStack();