[ https://forge.continuent.org/jira/browse/SEQUOIA-1052?page=comments#action_14397 ]
Nick Smith commented on SEQUOIA-1052: ------------------------------------- The getForeignKeys() method in DatabaseSQLMetaData.java needs to be changed to use the '%' instead of the null. > Call to metadata.getExportedKeys() generates NPE in SequoiaSchemaFactory > ------------------------------------------------------------------------ > > Key: SEQUOIA-1052 > URL: https://forge.continuent.org/jira/browse/SEQUOIA-1052 > Project: Sequoia > Type: Bug > Components: Core > Versions: Sequoia 2.10.9, Sequoia 2.10.8, Sequoia 2.10.7, Sequoia 2.10.6, > Sequoia 2.10.5, Sequoia 3.0 beta2, Sequoia 2.10.4, Sequoia 2.10.3, Sequoia > 3.0 beta1, Sequoia 2.10.2, Sequoia 2.10.1, Sequoia 2.10 > Environment: At least Derby/JavaDB/Cloudscape > Reporter: Emmanuel Cecchet > Assignee: Emmanuel Cecchet > Fix For: sequoia 2.10.10 > Attachments: patch.txt > > > SequoiaSchemaFactory checks for exported keys using > metadata.getExportedKeys(null, null, null), however the 3rd parameter (table) > should be '%' to select all tables and not null. > Some JDBC drivers will generate an NPE if the table parameter is null. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://forge.continuent.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ Sequoia mailing list [email protected] https://forge.continuent.org/mailman/listinfo/sequoia
