Package org.exolab.castor.jdo.engine

Examples of org.exolab.castor.jdo.engine.SQLEngine$FieldInfo


        }

        ClassMolder clsMold = (ClassMolder) _clsMolders.get(extName);
        if (clsMold != null) {
            me.setExtends(clsMold);
            SQLEngine sql = ((SQLEngine) me.getPersistence());
            if (sql == null) {
                throw new MappingException(
                        "Class " + me + " extends on " + extName
                        + " which is not persistence capable!");
            }
            sql.setExtends((SQLEngine) clsMold.getPersistence());
            return true;
        }

        if (_needExtendsClassMolder == null) {
            _needExtendsClassMolder = new Vector();
View Full Code Here


        }
       
        try {
            Persistence sqlEngine = (SQLEngine) _classDescriptorToPersistence.get(clsDesc);
            if (sqlEngine == null) {
                sqlEngine = new SQLEngine(clsDesc, this, null);
                _classDescriptorToPersistence.put(clsDesc, sqlEngine);
            }
            return sqlEngine;
        } catch (MappingException except) {
            _log.fatal(Messages.format("jdo.fatalException", except));
View Full Code Here

            throw new IllegalArgumentException("Null classname not allowed!");

        ClassMolder clsMold = (ClassMolder) clsMolders.get( extName );
        if ( clsMold != null ) {
            me.setExtends( clsMold );
            SQLEngine sql = ((SQLEngine)me.getPersistence());
            if ( sql == null )
                throw new MappingException("Class "+me+" extends on "+extName+" which is not persistence capable!");
            sql.setExtends((SQLEngine)clsMold.getPersistence() );
            return true;
        }

        if ( needExtendsClassMolder == null )
            needExtendsClassMolder = new Vector();
View Full Code Here

        throws MappingException
    {
        if ( ! ( clsDesc instanceof JDOClassDescriptor ) )
            return null;
        try {
            return new SQLEngine( (JDOClassDescriptor) clsDesc, logInterceptor, this, null);
        } catch ( MappingException except ) {
            if ( logInterceptor != null )
                logInterceptor.exception( except );
            return null;
        }
View Full Code Here

            throw new IllegalArgumentException("Null classname not allowed!");

        ClassMolder clsMold = (ClassMolder) clsMolders.get( extName );
        if ( clsMold != null ) {
            me.setExtends( clsMold );
            SQLEngine sql = ((SQLEngine)me.getPersistence());
            if ( sql == null )
                throw new MappingException("Class "+me+" extends on "+extName+" which is not persistence capable!");
            sql.setExtends((SQLEngine)clsMold.getPersistence() );
            return true;
        }

        if ( needExtendsClassMolder == null )
            needExtendsClassMolder = new Vector();
View Full Code Here

TOP

Related Classes of org.exolab.castor.jdo.engine.SQLEngine$FieldInfo

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.