Class HibernateStatementInspector

  • All Implemented Interfaces:
    Serializable, org.hibernate.resource.jdbc.spi.StatementInspector

    public class HibernateStatementInspector
    extends Object
    implements org.hibernate.resource.jdbc.spi.StatementInspector
    NOT Thread-Safe since it is meant to be used by Spring tests that are not multi-threaded ThreadLocal does not work because a test can span on multiple threads (ex: a test executing a HTTP request on the server)
    See Also:
    Serialized Form
    • Constructor Detail

      • HibernateStatementInspector

        public HibernateStatementInspector()
    • Method Detail

      • inspect

        public String inspect​(String sql)
        Specified by:
        inspect in interface org.hibernate.resource.jdbc.spi.StatementInspector