-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQL server compatibility #16
Comments
Hi Martin,
I hope this helps. Before starting development, please note that you will need to be somewhat familiar with java development, maven (and git), so you might want to refresh on these a bit. Now, to come to the actual problem: I couldn't find a "free" version of a jdbc driver for SQL server. If you could point me to one to include as a maven dependency, I could include it in the parser. |
Hi Nikos, |
Hi, you can use the following jdbc driver for SQL Server:
Check the support matrix here to see which version you need. with database connectivity as following:
Some things to take into account that did the trick for me:
|
Hi,
I would like to get R2RML Parser working with SQL Server. You've already explained how to modify sources:
"""
Replace:
System.exit(1);
with e.g.
return DatabaseType.ORACLE;
You will need a JDBC driver for SQL Server though. Place the jar in the lib folder.
rr:logicalTable [ rr:tableName '"mytable"'; ];
you will have to change it to e.g.:
rr:logicalTable [ rr:sqlQuery """SELECT * FROM mytable"""; ];
The difference among the various databases is in retrieving the table columns (see Parser.java, lines 635-641). If you do not have rr:tableName mappings in your R2RML file and have rr:sqlQuery instead, I believe you will not have a problem.
"""
After these changes, I would like to know how to compile properly sources in order to get the same configuration as the latest release (https://github.com/nkons/r2rml-parser/releases).
Thank you in advance,
Martin
The text was updated successfully, but these errors were encountered: