'field list' 中的未知列“*_._ebean_intercept”

Unknown column '*_._ebean_intercept' in 'field list'

我已将我的 play 2.6.7 应用程序升级到 2.7.0-R8 并在我尝试执行以下代码时收到 JPAApi 错误 "Unknown column '*_._ebean_intercept' in 'field list'":

jpaApi.withTransaction(entityManager -> {

        Query query = entityManager.createQuery(hql, modelClass);
        return query.getResultList();

    });

我的依赖:

persistence.xml

<persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"
         version="2.1">

<persistence-unit name="defaultPersistenceUnit" transaction-type="RESOURCE_LOCAL">
    <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
    <non-jta-data-source>DefaultDS</non-jta-data-source>
    <properties>
        <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
    </properties>
</persistence-unit>

</persistence>

请帮忙!

尝试将Ebean升级到最新版本