ilgrosso commented on PR #1065:
URL: https://github.com/apache/syncope/pull/1065#issuecomment-2841034023

   Closing because the [refactor 
performed](https://dev.mysql.com/doc/relnotes/connector-j/en/news-9-3-0.html#connector-j-9-3-0-feature)
 with `DatabaseMetaData` is generating the following error:
   
   ```
   2025-44-30 08:44:01.241 [main] ERROR 
org.apache.syncope.core.persistence.api.content.ContentExporter - While getting 
the list of tables
   java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; 
check the manual that corresponds to your MySQL server version for the right 
syntax to use near 'HAVING TABLE_TYPE IN ('TABLE',null,null,null,null) ORDER BY 
TABLE_TYPE, TABLE_SC' at line 1
           at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:112)
           at 
com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:114)
           at 
com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:990)
           at 
com.mysql.cj.jdbc.ClientPreparedStatement.executeQuery(ClientPreparedStatement.java:1058)
           at 
com.mysql.cj.jdbc.DatabaseMetaDataInformationSchema.executeMetadataQuery(DatabaseMetaDataInformationSchema.java:51)
           at 
com.mysql.cj.jdbc.DatabaseMetaDataInformationSchema.getTables(DatabaseMetaDataInformationSchema.java:1096)
           at 
com.zaxxer.hikari.pool.ProxyDatabaseMetaData.getTables(ProxyDatabaseMetaData.java:67)
           at 
com.zaxxer.hikari.pool.HikariProxyDatabaseMetaData.getTables(HikariProxyDatabaseMetaData.java)
           at 
org.apache.syncope.core.persistence.jpa.content.XMLContentExporter.export(XMLContentExporter.java:404)
   [...]
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@syncope.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to