Package org.jpox.exceptions

Examples of org.jpox.exceptions.NoPersistenceInformationException


        assertClassPersistable(pcClass);

        AbstractClassMetaData cmd = getMetaDataManager().getMetaDataForClass(pcClass, clr);
        if (cmd == null)
        {
            throw new NoPersistenceInformationException(pcClass.getName());
        }

        // If the class is not yet managed, manage it
        if (!getStoreManager().managesClass(cmd.getFullClassName()))
        {
View Full Code Here


        {
            throw new ClassNotPersistableException(cls.getName());
        }
        if (!hasPersistenceInformationForClass(cls))
        {
            throw new NoPersistenceInformationException(cls.getName());
        }
    }
View Full Code Here

                {
                    AbstractClassMetaData cmd = getMetaDataManager().getMetaDataForClass(classNames[i], clr);
                    if (cmd == null)
                    {
                        JPOXLogger.DATASTORE_SCHEMA.warn(LOCALISER_RDBMS.msg("050042", classNames[i]));
                        throw new NoPersistenceInformationException(classNames[i]);
                    }
                    cmds.addAll(getMetaDataManager().getReferencedClassMetaData(cmd, dba.getVendorID(), clr));
                }
            }
            return cmds;
View Full Code Here

TOP

Related Classes of org.jpox.exceptions.NoPersistenceInformationException

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.