Package org.datanucleus.store.schema

Examples of org.datanucleus.store.schema.StoreSchemaData


        if (values == null)
        {
            if (name.equalsIgnoreCase("types"))
            {
                // Types information
                StoreSchemaData info = schemaDataByName.get("types");
                if (info == null)
                {
                    // No types info defined yet so load it
                    info = getRDBMSTypesInfo((Connection)connection);
                }
                return info;
            }
            else if (name.equalsIgnoreCase("tables"))
            {
                // Tables-columns information
                StoreSchemaData info = schemaDataByName.get("tables");
                if (info == null)
                {
                    // TODO Initialise tables if not yet defined ?
                }
                return info;
View Full Code Here


    }

    @Override
    public StoreSchemaData getSchemaData(Object conn, String objName, Object[] values) {
        final TableImpl table = getTable(objName);
        return table == null ? null : new StoreSchemaData() {
           
            @Override
            public Object getProperty(String name) {
                return table.getColumnByForceApiName(name);
            }
View Full Code Here

TOP

Related Classes of org.datanucleus.store.schema.StoreSchemaData

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.