Does Apache Olingo support Oracle database - oracle

I want to expose Oracle database data with an Odata endpoint.I tried using JayData server on node.js but it currently supports only mongo db but not oracle.So before I start trying connecting Oracle with Apache Olingo I would like to know if someone has already been this path.Please advise

I have successfully used Oracle with Olingo from java JPA and EclipseLink

Related

Tibco businessworks 6.6. JDBC Resource connection - Snowflake

Has anyone successfully created a JDBC Resource connection for the Snowflake database? I have a specific case, where I would like to connect directly, not through Snowflake plugin. I am stuck at database driver selection. Can't import snowflake-jdbc-3.13.24.jar to choose it in dropdown menu.
I already tried this, but it doesn't work:
https://docs.tibco.com/pub/activematrix_businessworks/6.2.1/doc/html/GUID-DF12A927-F788-46DC-ABA1-0A1BA797DE2F.html
I never worked with Snowflakes but the BusinessWorks 6.6 documentation provides updated explanations on how to set-up a custom JDBC driver in the BusinessWorks environment, you can check it at the following URL :
https://docs.tibco.com/pub/activematrix_businessworks/6.6.1/doc/html/GUID-DF12A927-F788-46DC-ABA1-0A1BA797DE2F.html

Database connection failed with JDBC to SAP Hana

I'm currently trying to test a JDBC connection to SAP Hana with AWS Glue.
Testing the connection results in the following error message:
com.amazonaws.glue.jobexecutor.commands.exception.CommandExecutorException: java.lang.IllegalArgumentException: No enum constant com.amazonaws.glue.jobexecutor.commands.jdbc.SupportedDriver.SAP
My JDBC URL looks like that jdbc:sap://ip:port/?databaseName=tdb
After looking in the developer guide from AWS for the JDBC Connection Properties, it looks like that required protocol for hana is not a supported right now.
So is this the case that you currently can't connect to a SAP Hana database with AWS Glue or am I missing something in my connection configuration?
The HANA JDBC driver seems not to be supported at the moment. AWS describes a way via S3, that, depending on your requirements might be enough for you:
https://aws.amazon.com/de/blogs/awsforsap/extracting-data-from-sap-hana-using-aws-glue-and-jdbc/

HSQL Server Issue with jdbc

I have HSQL server 2.3.4 and I am trying to use hsql jdbc connectivity jar 2.2.9 to aceess the HSQL database but I am getting End of file exception.
The Servr is working pretty fine when I am using hsql jdbc connectivity jar 2.3.4 with hSQL Server 2.3.4.
Can somebody explain the reason for no backward compatibility
New features are introduced in each new version of the database engine. Sometimes the addition of new features requires changes to the network protocol used for exchanging data between the client and server. These changes break backward compatibility.
It is recommended to use jars of the same version on client and server.

Hive Server in Cloudera quickstart

I am trying to create a form and using servlets connect with hiveĀ“s tables. But I have some doubts:
Is Hive server installed in cloudera quickstart?
It is necessary other server like Tomcat for the servlet?
Must I have the libraries in the IDE? Or also in other place?
Is possible with a form launch a servlet and display the data in the navigator on cloudera quickstart?
JDBC must be installed in my local host or also in the virtual machine?
Where do I declare the XML?
I would suggest using HiveServer JDBC,
Write your web application and deploy where ever you want to just use Hive JDBC drivers to connect and query Hive.
Here is more info Hive JDBC
https://cwiki.apache.org/confluence/display/Hive/HiveClient

Connect Oracle cloud Database using JDBC java

I have database username and password to access oracle db and also have service url like https://X-X.X.X.oraclecloudapps.com/apex/.
Can anybody know how to connect this db using JDBC connection.
I tried using oracle thin driver but somehow it failes.
Sample java code:
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:#//X.X.X.X.oraclecloudapps.com:1521/sid", "username", "****");
It throws
Exception in thread "main" java.sql.SQLRecoverableException: Io exception: The Network Adapter could not establish the connection
I don't know SID here, it would be helpful if anybody give steps to find SID/ServiceName from Oracle Cloud dashboard.
You can't use JDBC to connect to the Database Schema Service. You can connect using the API or tools that utilize the REST API. For data upload to Oracle Database Schema Service, use Oracle SQL Developer, the Oracle Application Express SQL Workshop Data Upload Utility or the Oracle Application Express Data Load utility. Read more here: http://docs.oracle.com/cloud/latest/dbcs_schema/CSDBU/GUID-3B14CF7A-637B-4019-AAA7-A6DC5FF3D2AE.htm#CSDBU177
There is only three way to connect Database Schema Service.
From an Oracle Application Express application running in Database Schema Service
From a Java application running in an Oracle Java Cloud Service
Through RESTful Web services
Try the following JDBC URL to resolve the issue
"jdbc:oracle:thin:#host-address:1521/sid";
Note / is used after port and Not :

Resources