JDBC Importer Fixes
See original GitHub issuePrerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Running the latest version of Constellation
- Attached the Support Package via
Help
>Support Package
- Checked the FAQs: https://github.com/constellation-app/constellation/wiki/FAQ
- Checked that your issue isn’t already filed: https://github.com/constellation-app/constellation/issues
- Checked that there is not already a module that provides the described functionality: https://github.com/constellation-app/constellation/wiki/Catalogue-of-Repositories
Description
The following issues we’re identified by @cygnus-x-1 when testing the JDBC importer:
- You currently cannot add a connection without entering a username / password, even if it is not required.
- I’m unclear why there is an option for a username and password as that information was requested as part of the connection setup. Perhaps it was only needed for testing the connection there? If that’s the case, then the UI should indicate that.
- The instructions in the ‘Configuration’ pane don’t actually mention that you need to perform an SQL query to retrieve sample data before dragging and dropping attributes.
- I am unable to perform metadata queries of a database (.table, .schema , etc) as they fail validation.
Steps to Reproduce
- [First Step]
- [Second Step]
- [and so on…]
Expected behaviour: [What you expect to happen]
Actual behaviour: [What actually happens]
Reproduces how often: [What percentage of the time does it reproduce?]
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
JDBC importer for Elasticsearch - GitHub
The Java Database Connection (JDBC) importer allows to fetch data from JDBC sources for indexing into Elasticsearch. The JDBC importer was designed for...
Read more >Release notes - JDBC Driver for SQL Server - Microsoft Learn
This article lists the releases of the Microsoft JDBC Driver for SQL Server. For each release version, the changes are named and described....
Read more >JR50229: JDBC CONNECTOR FAILS WITH METHOD NOT ...
The error was due to a limitation in the JDBC Connector code. When fetching data, the connector would assume that the JDBC driver...
Read more >The import oracle.jdbc cannot be resolved - Stack Overflow
I am currently working on a project where we have to connect to a database and through Java insert values into our database....
Read more >problem importing oracle.jdbc.pool.OracleDataSource and ...
It sounds like your issue may be due to a rogue instance of the Oracle JDBC driver already being available to the classpath....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The issue with the SQLite DB mentioned in https://github.com/constellation-app/constellation/issues/141 could be reproduced and it was thrown when the
ResultSetMetaData
(PreparedStatement.getMetaData()
) was called after all of the rows of theResultSet
have been consumed, i.e.,rs.next()
has been called until it returns false.Easily fixed by moving that part of the code down, which wouldn’t make any difference on other databases.
When the username and password are not required, I can just leave those fields blank.
With all the error pop ups, the exception was also thrown by the LOGGER.log(). Fixed that also. The
Add Drive
window now lists theName
under theDriver
andName
auto populates the first item when theDriver
is selected. I left the drop down, in case there could be multiple items for certain drivers perhaps.