T doInHibernate(Session var1) throws HibernateException;

T doInHibernate(Session var1) throws HibernateException; errors’doInHibernate(Session)’ in ‘Anonymous class derived from org.springframework.orm.hibernate5.HibernateCallback’ clashes with ‘doInHibernate(Session)’ in ‘org.springframework.orm.hibernate5.HibernateCallback’; overridden method does not throw ‘java.sql.SQLException’

First, this is not a question, but just a blob of code without any context. You think anybody is willing to spend time to help you if not even you bother to spend time on formulating a proper question?
Second, I only see Spring in this code blob, so go to Spring forums and try your luck there.

Thinks for you.I try