|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.util.BambooHibernateUtils
public class BambooHibernateUtils
Field Summary | |
---|---|
static java.util.concurrent.atomic.AtomicInteger |
counter
|
Method Summary | ||
---|---|---|
static void |
disableSqlLogging()
For debugging only |
|
static void |
enableSqlLogging()
For debugging only |
|
static java.util.List |
listWithSqlLogged(net.sf.hibernate.Criteria criteria,
java.lang.String message)
For debugging only |
|
static
|
withSqlLogged(java.util.concurrent.Callable<T> callable,
java.lang.String message)
For debugging only |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.util.concurrent.atomic.AtomicInteger counter
Method Detail |
---|
public static void enableSqlLogging()
public static void disableSqlLogging()
public static <T> T withSqlLogged(@NotNull java.util.concurrent.Callable<T> callable, @Nullable java.lang.String message) throws net.sf.hibernate.HibernateException
net.sf.hibernate.HibernateException
public static java.util.List listWithSqlLogged(@NotNull net.sf.hibernate.Criteria criteria, @Nullable java.lang.String message) throws net.sf.hibernate.HibernateException
net.sf.hibernate.HibernateException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |