Package org.jpox.metadata

Examples of org.jpox.metadata.TableGeneratorMetaData


            }
            else if (localName.equals("table-generator"))
            {
                // Table generator (add to the default package whether they are specified there or not)
                MetaData md = getStack();
                TableGeneratorMetaData tgmd = new TableGeneratorMetaData(md, getAttr(attrs, "name"),
                    getAttr(attrs, "table"), getAttr(attrs, "catalog"), getAttr(attrs, "schema"), getAttr(attrs, "pk-column-name"),
                    getAttr(attrs, "value-column-name"), getAttr(attrs, "pk-column-value"), getAttr(attrs, "initial-value"),
                    getAttr(attrs, "allocation-size"));

                PackageMetaData pmd = null;
View Full Code Here


        String tgPKColumnName = (String)annotationValues.get("pkColumnName");
        String tgValueColumnName = (String)annotationValues.get("valueColumnName");
        String tgPKColumnValue = (String)annotationValues.get("pkColumnValue");
        Integer initialValue = (Integer)annotationValues.get("initialValue");
        Integer allocationSize = (Integer)annotationValues.get("allocationSize");
        TableGeneratorMetaData tgmd = new TableGeneratorMetaData(pmd, name, tgTable,
            tgCatalog, tgSchema, tgPKColumnName, tgValueColumnName, tgPKColumnValue,
            "" + initialValue.intValue(), "" + allocationSize.intValue());
        pmd.addTableGenerator(tgmd);
        // TODO Support uniqueConstraints
    }
View Full Code Here

        AbstractMemberMetaData mmd = null;
        String fieldName = null;
        IdentityStrategy strategy = null;
        String sequence = null;
        String valueGeneratorName = null;
        TableGeneratorMetaData tableGeneratorMetaData = null;
        SequenceMetaData sequenceMetaData = null;
        if (absoluteFieldNumber >= 0)
        {
            // real field
            mmd = cmd.getMetaDataForManagedMemberAtAbsolutePosition(absoluteFieldNumber);
View Full Code Here

TOP

Related Classes of org.jpox.metadata.TableGeneratorMetaData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.