dixitdeepak opened a new pull request, #543: URL: https://github.com/apache/ofbiz-framework/pull/543
Use connection.getCatalog()to include the catalog from the Connection, this is needed for MySQL which does not restrict meta data queries to the current connected database without specifying a catalog on these methods, may cause issues with other databases and needs more testing Improved: (OFBIZ-12675) Explanation: While using mysql8 driver, ofbiz fails to create tables in newly setup database. Steps to reproduce: - Create ofbiz database, load data (everything works fine) - Create ofbiz1 database, load data, you will get error, and ofbiz fails to create new tables in ofbiz1. After initial debugging found while check db DatabaseMetaData.getTables returns list of existing tables, so it does not create new tables hence fails to load data. Thanks: -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
