Package org.jboss.as.cmp.ejbql

Examples of org.jboss.as.cmp.ejbql.Catalog


    }

    private void initResultReader(JDBCEntityBridge2 entity, JDBCDeclaredQueryMetaData metadata) {
        String entityName = metadata.getEJBName();
        if (entityName != null) {
            Catalog catalog = entity.getManager().getCatalog();
            JDBCEntityBridge2 otherEntity = (JDBCEntityBridge2) catalog.getEntityByEJBName(entityName);
            if (otherEntity == null) {
                throw MESSAGES.unknownEntity(entityName);
            }
            this.entity = otherEntity;
        } else {
View Full Code Here


        );

        entityBridge = new JDBCEntityBridge2(this, metaData);
        entityBridge.init();

        Catalog catalog = getCatalog();
        catalog.addEntity(entityBridge);

        stop = new JDBCStopCommand(this);
    }
View Full Code Here

        // if no name is specified we are done
        if (entityName == null) {
            return;
        }

        Catalog catalog = manager.getCatalog();

        JDBCEntityBridge entity = (JDBCEntityBridge) catalog.getEntityByEJBName(entityName);
        if (entity == null) {
            throw MESSAGES.unknownEntity(entityName);
        }

        String fieldName = metadata.getFieldName();
View Full Code Here

TOP

Related Classes of org.jboss.as.cmp.ejbql.Catalog

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.