Package org.rhq.core.db.upgrade

Examples of org.rhq.core.db.upgrade.DatabaseUpgradeTask


            }

            log(MSG.getMsg(DbAntI18NResourceKeys.JAVA_TASK_EXECUTING, className));

            Class<?> javaTaskClass = Class.forName(className);
            DatabaseUpgradeTask javaTask = (DatabaseUpgradeTask) javaTaskClass.newInstance();

            DatabaseType db_type = getDatabaseType();
            Connection conn = getConnection();

            javaTask.execute(db_type, conn);
        } catch (Exception e) {
            throw new BuildException(MSG.getMsg(DbAntI18NResourceKeys.JAVA_TASK_ERROR, e), e);
        }
    }
View Full Code Here

TOP

Related Classes of org.rhq.core.db.upgrade.DatabaseUpgradeTask

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.