Package org.xorm.datastore

Examples of org.xorm.datastore.DataFetchGroup.addColumn()


        Column c = mapping.getColumn(field);
        if (c == null) throw new JDOUserException("No column for field " + field + " of class " + mapping.getMappedClass().getName());
        if (!getRow().containsValue(c)) {
            // Column fault: column was not in default fetch group
            DataFetchGroup dfg = new DataFetchGroup();
            dfg.addColumn(c);
            if (getRow().isCached()) {
                // We need to clone the row so we don't modify the cached Row
                Row theRow = (Row)getRow().clone();
                theRow.setCached(false);
                setRow(theRow);
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.