Class HibernateUtils

java.lang.Object
org.springframework.data.jpa.provider.HibernateUtils

public abstract class HibernateUtils extends Object
Utility functions to work with Hibernate. Mostly using reflection to make sure common functionality can be executed against all the Hibernate version we support.
Since:
1.10.2
Author:
Oliver Gierke, Mark Paluch, Jens Schauder, Donghun Shin, Greg Turnquist
  • Method Details

    • getHibernateQuery

      @Nullable public static String getHibernateQuery(Object query)
      Return the query string of the underlying native Hibernate query.
      Parameters:
      query -
      Returns: