Java 取消勾选“;“包装JDBC对象”;在帕亚拉,5给出了错误

Java 取消勾选“;“包装JDBC对象”;在帕亚拉,5给出了错误,java,jdbc,mysql-connector,payara,Java,Jdbc,Mysql Connector,Payara,在Payara 5.201应用服务器中,我试图在JDBC连接池->MySQL数据库池高级中取消选中“包装JDBC对象” 但是当我保存它时,我得到了以下错误 An error has occurred Could not apply changes: Could not change the attributes: Constraints for this JdbcConnectionPool configuration have been violated: on property [ ]

在Payara 5.201应用服务器中,我试图在JDBC连接池->MySQL数据库池高级中取消选中“
包装JDBC对象”

但是当我保存它时,我得到了以下错误

An error has occurred 

Could not apply changes: Could not change the attributes: Constraints for this JdbcConnectionPool configuration have been violated: on property [ ] violation reason [ Statement Wrapping should be set to true before performing this operation ]

默认情况下,此属性以签入的形式出现,因为我在应用程序中遇到以下错误,并且提供的解决方案是取消选中Payara服务器中的“包装JDBC对象”

com.sun.gjc.spi.jdbc40.ProfiledConnectionWrapper40 cannot be cast to oracle.jdbc.OracleConnection
我尝试创建一个新连接,但在此期间,我没有检查/取消检查此属性

我的连接详细信息如下,我使用的是“mysql-connector-java-5.1.30.jar”,mysql版本是“5.7.22