Package com.forgeessentials.data.api

Examples of com.forgeessentials.data.api.TypeMultiValInfo


    private ArrayList<String> generateMultiValInsertBatch(TypeData data)
    {
        ArrayList<String> statements = new ArrayList<String>();

        TypeMultiValInfo info = (TypeMultiValInfo) DataStorageManager.getInfoForType(data.getContainer());
        ITypeInfo entryInfo = info.getEntryInfo();

        for (Object dat : data.getAllValues())
        {
            if (dat instanceof TypeData)
            {
View Full Code Here


            ITypeInfo info = DataStorageManager.getInfoForType(targetType);

            // multival styff
            if (!info.canSaveInline())
            {
                TypeMultiValInfo multiInfo = (TypeMultiValInfo) info;
                String ID = dbValue.toString();
                ID = TypeMultiValInfo.getUIDFromUnique(ID);

                // get the data for the MultiVals
                Statement s = getDbConnection().createStatement();
                ResultSet result = s.executeQuery("SELECT * FROM " + FEDATA_PREFIX + targetType.getFileSafeName() + " WHERE " + MULTI_MARKER + "='" + ID + "'");

                TypeData data = DataStorageManager.getDataForType(targetType);

                TypeEntryInfo entryInfo = multiInfo.getEntryInfo();
                String connector = multiInfo.getEntryName();

                // create the MultiVal object
                TypeData temp;
                int i = 0;
                while (result.next())
View Full Code Here

TOP

Related Classes of com.forgeessentials.data.api.TypeMultiValInfo

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.