com.atlassian.confluence.upgrade
Class UpgradeUtils
java.lang.Object
com.atlassian.confluence.upgrade.UpgradeUtils
- public class UpgradeUtils
- extends Object
Created by IntelliJ IDEA.
User: Tomd
Date: 31/01/2006
Time: 16:33:56
To change this template use File | Settings | File Templates.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpgradeUtils
public UpgradeUtils()
createIndex
public static void createIndex(net.sf.hibernate.Session session,
String indexName,
String tableName,
String columns,
org.apache.log4j.Category log)
throws net.sf.hibernate.HibernateException,
SQLException
- Throws:
net.sf.hibernate.HibernateException
SQLException
executeDdl
public static void executeDdl(net.sf.hibernate.Session session,
String sql,
org.apache.log4j.Category log)
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
getSession
public static net.sf.hibernate.Session getSession()
dropIndex
public static void dropIndex(net.sf.hibernate.Session session,
String indexName,
String tableName,
org.apache.log4j.Category log)
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
isMySQL
public static boolean isMySQL()
isMSSQL
public static boolean isMSSQL()
isSybase
public static boolean isSybase()
getExistingStringValue
public static String getExistingStringValue(String key)
getExistingBooleanValue
public static boolean getExistingBooleanValue(String key)
getExistingIntegerValue
public static int getExistingIntegerValue(String key)