Package org.apache.openjpa.util

Examples of org.apache.openjpa.util.InternalException


        Object o = field.getForeignKey().getConstant(col);
        if (o != null)
            return o;
        col = field.getForeignKey().getPrimaryKeyColumn(col);
        if (col == null)
            throw new InternalException();

        ClassMapping relmapping = field.getTypeMapping();
        Joinable j = field.getTypeMapping().assertJoinable(col);
        if (ImplHelper.isManageable(fieldVal))
            fieldVal = store.getContext().getObjectId(fieldVal);
View Full Code Here


        ClassMapping owner = field.getDefiningMapping();
        while (fk.getPrimaryKeyTable() != owner.getTable()) {
            joins = owner.joinSuperclass(joins, false);
            owner = owner.getJoinablePCSuperclassMapping();
            if (owner == null)
                throw new InternalException();
        }
        return joins.joinRelation(field.getName(), fk, elem,
            vm.getSelectSubclasses(), true, true);
    }
View Full Code Here

            : parsedQuery instanceof String
            ? getParsedQuery((String) parsedQuery)
            : null, null));

        if (ctx().parsed == null)
            throw new InternalException(parsedQuery + "");
    }
View Full Code Here

            _owner = owner;
            _vmd = vmd;
        }

        public void initialize(Class forType, PCState state) {
            throw new InternalException();
        }
View Full Code Here

        public void initialize(Class forType, PCState state) {
            throw new InternalException();
        }

        public void load(FetchConfiguration fetch) {
            throw new InternalException();
        }
View Full Code Here

        public void load(FetchConfiguration fetch) {
            throw new InternalException();
        }

        public boolean assignObjectId(boolean flush) {
            throw new InternalException();
        }
View Full Code Here

        public BitSet getFlushed() {
            return EMPTY_BITSET;
        }

        public BitSet getUnloaded(FetchConfiguration fetch) {
            throw new InternalException();
        }
View Full Code Here

        public BitSet getUnloaded(FetchConfiguration fetch) {
            throw new InternalException();
        }

        public Object newProxy(int field) {
            throw new InternalException();
        }
View Full Code Here

        public Object newProxy(int field) {
            throw new InternalException();
        }

        public Object newFieldProxy(int field) {
            throw new InternalException();
        }
View Full Code Here

        public Object getObjectId() {
            return _owner.getObjectId();
        }

        public void setObjectId(Object oid) {
            throw new InternalException();
        }
View Full Code Here

TOP

Related Classes of org.apache.openjpa.util.InternalException

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.