org.rhq.helpers.perftest.support.dbsetup
Class DbSetup

java.lang.Object
  extended by org.rhq.helpers.perftest.support.dbsetup.DbSetup

public class DbSetup
extends Object

This class is a utility wrapper around the actual DBSetup and DBUpgrader classes defined in the rhq-core-dbutils module.

Author:
Lukas Krejci

Constructor Summary
DbSetup(Connection connection)
           
 
Method Summary
 void setup(String targetVersion)
           
 void upgrade(String targetVersion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbSetup

public DbSetup(Connection connection)
        throws Exception
Throws:
Exception
Method Detail

setup

public void setup(String targetVersion)
           throws Exception
Throws:
Exception

upgrade

public void upgrade(String targetVersion)
             throws Exception
Throws:
Exception


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.