public abstract class HibernateUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getHibernateQuery(Object query)
Return the query string of the underlying native Hibernate query.
|
static boolean |
isVersionOrBetter(Version version)
Returns whether the currently used version of Hibernate is equal to or newer than the given one.
|
public static String getHibernateQuery(Object query)
query
- public static boolean isVersionOrBetter(Version version)
version
- must not be null.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.