Package org.apache.empire.db.exceptions

Examples of org.apache.empire.db.exceptions.FieldIsReadOnlyException


        // Field has changed
        DBColumn column = rowset.getColumn(index);
        // Check whether we can change this field
        if (!allowFieldChange(column))
        {   // Read Only column may be set
            throw new FieldIsReadOnlyException(column);
        }
        // Is Value valid
        if (validateFieldValues)
          value = validateValue(column, value);
        // Init original values
View Full Code Here


        // Field has changed
        DBColumn column = rowset.getColumn(index);
        // Check whether we can change this field
        if (!allowFieldChange(column))
        {   // Read Only column may be set
            throw new FieldIsReadOnlyException(column);
        }
        // Is Value valid
        if (validateFieldValues)
          value = validateValue(column, value);
        // Init original values
View Full Code Here

            return; // no change
        // Field has changed
        DBColumn column = rowset.getColumn(index);
        if (column.isAutoGenerated())
        {   // Read Only column may be set
            throw new FieldIsReadOnlyException(column);
        }
        // Is Value valid
        column.validate(value);
        // Init original values
        modifyValue(index, value);
View Full Code Here

            return; // no change
        // Field has changed
        DBColumn column = rowset.getColumn(index);
        if (column.isAutoGenerated())
        {   // Read Only column may be set
            throw new FieldIsReadOnlyException(column);
        }
        // Is Value valid
        column.checkValue(value);
        // Init original values
        modifyValue(index, value);
View Full Code Here

TOP

Related Classes of org.apache.empire.db.exceptions.FieldIsReadOnlyException

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.