Package org.jpox.store.rdbms.adapter

Examples of org.jpox.store.rdbms.adapter.RDBMSAdapter.supportsIdentityFields()


        StringBuffer typeSpec = new StringBuffer(typeInfo.typeName);
        RDBMSAdapter adapter = (RDBMSAdapter) storeMgr.getDatastoreAdapter();

        // Add type specification.
        boolean specifyType = true;
        if (adapter.supportsIdentityFields() && autoIncrement && !adapter.supportsAutoIncrementColumnTypeSpecification())
        {
            specifyType = false;
        }

        if (specifyType)
View Full Code Here


        {
            def.append(" ").append(getDefaultDefinition());
        }

        // Nullability
        if (adapter.supportsIdentityFields() && autoIncrement && !adapter.supportsAutoIncrementKeysNullSpecification())
        {
            // Do nothing since the adapter doesn't allow NULL specifications with autoincrement/identity
        }
        else
        {
View Full Code Here

        {
            def.append(" " + constraints.toString());
        }

        // Auto Increment
        if (adapter.supportsIdentityFields() && autoIncrement)
        {
            def.append(" " + adapter.getAutoIncrementKeyword());
        }

        // Uniqueness
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.