Examples of AppEnvironment_PK


Examples of org.apache.aiaravata.application.catalog.data.model.AppEnvironment_PK

    @Override
    public void save() throws AppCatalogException {
        EntityManager em = null;
        try {
            em = AppCatalogJPAUtils.getEntityManager();
            AppEnvironment existigAppEnv = em.find(AppEnvironment.class, new AppEnvironment_PK(deploymentId, name));
            em.close();

            em = AppCatalogJPAUtils.getEntityManager();
            em.getTransaction().begin();
View Full Code Here

Examples of org.apache.aiaravata.application.catalog.data.model.AppEnvironment_PK

        }
        EntityManager em = null;
        try {
            em = AppCatalogJPAUtils.getEntityManager();
            AppEnvironment appEnvironment = em.find(AppEnvironment.class,
                    new AppEnvironment_PK(ids.get(AppEnvironmentConstants.DEPLOYMENT_ID),
                            ids.get(AppEnvironmentConstants.NAME)));
            em.close();
            return appEnvironment != null;
        } catch (ApplicationSettingsException e) {
            logger.error(e.getMessage(), e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.